home.social

#yardoc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #yardoc, aggregated by home.social.

  1. @serge many of the projects we use in Python, like #Flask, are documented using #Sphinx, which can be configured to automatically generate API documentation from Python source code:

    sphinx-doc.org/en/master/tutor

    This is (similar to the #yardoc and #rdoc situation) backwards compatible with #pydoc, though much more expressive due to the machine-readable format for defining parameters, return values and potential exceptions:

    sphinx-doc.org/en/master/tutor

    docs.python.org/3/library/pydo

  2. @serge many of the projects we use in Python, like #Flask, are documented using #Sphinx, which can be configured to automatically generate API documentation from Python source code:

    sphinx-doc.org/en/master/tutor

    This is (similar to the #yardoc and #rdoc situation) backwards compatible with #pydoc, though much more expressive due to the machine-readable format for defining parameters, return values and potential exceptions:

    sphinx-doc.org/en/master/tutor

    docs.python.org/3/library/pydo

  3. @serge many of the projects we use in Python, like #Flask, are documented using #Sphinx, which can be configured to automatically generate API documentation from Python source code:

    sphinx-doc.org/en/master/tutor

    This is (similar to the #yardoc and #rdoc situation) backwards compatible with #pydoc, though much more expressive due to the machine-readable format for defining parameters, return values and potential exceptions:

    sphinx-doc.org/en/master/tutor

    docs.python.org/3/library/pydo

  4. @serge many of the projects we use in Python, like #Flask, are documented using #Sphinx, which can be configured to automatically generate API documentation from Python source code:

    sphinx-doc.org/en/master/tutor

    This is (similar to the #yardoc and #rdoc situation) backwards compatible with #pydoc, though much more expressive due to the machine-readable format for defining parameters, return values and potential exceptions:

    sphinx-doc.org/en/master/tutor

    docs.python.org/3/library/pydo

  5. @serge many of the projects we use in Python, like #Flask, are documented using #Sphinx, which can be configured to automatically generate API documentation from Python source code:

    sphinx-doc.org/en/master/tutor

    This is (similar to the #yardoc and #rdoc situation) backwards compatible with #pydoc, though much more expressive due to the machine-readable format for defining parameters, return values and potential exceptions:

    sphinx-doc.org/en/master/tutor

    docs.python.org/3/library/pydo

  6. I think inline #documentation is an important tool to making software readable. It makes software maintainable, encourages future development and makes it easier to join the project as a developer.

    This is why I advocate for #mastodon to start encouraging inline documentation with #yardoc, requiring it for any new PRs and serving this API documentation on joinmastodon.org.

    github.com/mastodon/mastodon/i

    #MastodonDev #ruby #rails

  7. I think inline #documentation is an important tool to making software readable. It makes software maintainable, encourages future development and makes it easier to join the project as a developer.

    This is why I advocate for #mastodon to start encouraging inline documentation with #yardoc, requiring it for any new PRs and serving this API documentation on joinmastodon.org.

    github.com/mastodon/mastodon/i

    #MastodonDev #ruby #rails

  8. I think inline #documentation is an important tool to making software readable. It makes software maintainable, encourages future development and makes it easier to join the project as a developer.

    This is why I advocate for #mastodon to start encouraging inline documentation with #yardoc, requiring it for any new PRs and serving this API documentation on joinmastodon.org.

    github.com/mastodon/mastodon/i

    #MastodonDev #ruby #rails

  9. I think inline #documentation is an important tool to making software readable. It makes software maintainable, encourages future development and makes it easier to join the project as a developer.

    This is why I advocate for #mastodon to start encouraging inline documentation with #yardoc, requiring it for any new PRs and serving this API documentation on joinmastodon.org.

    github.com/mastodon/mastodon/i

    #MastodonDev #ruby #rails

  10. I think inline #documentation is an important tool to making software readable. It makes software maintainable, encourages future development and makes it easier to join the project as a developer.

    This is why I advocate for #mastodon to start encouraging inline documentation with #yardoc, requiring it for any new PRs and serving this API documentation on joinmastodon.org.

    github.com/mastodon/mastodon/i

    #MastodonDev #ruby #rails

  11. I'm thinking about asking on the #Mastodon issue tracker about introducing inline documentation using #yardoc or #rdoc to public functions on modules and classes.

    Was there any issue, discussion or call for this already?

    #MastodonDev

  12. I'm thinking about asking on the #Mastodon issue tracker about introducing inline documentation using #yardoc or #rdoc to public functions on modules and classes.

    Was there any issue, discussion or call for this already?

    #MastodonDev

  13. I'm thinking about asking on the #Mastodon issue tracker about introducing inline documentation using #yardoc or #rdoc to public functions on modules and classes.

    Was there any issue, discussion or call for this already?

    #MastodonDev

  14. I'm thinking about asking on the #Mastodon issue tracker about introducing inline documentation using #yardoc or #rdoc to public functions on modules and classes.

    Was there any issue, discussion or call for this already?

    #MastodonDev

  15. I'm thinking about asking on the #Mastodon issue tracker about introducing inline documentation using #yardoc or #rdoc to public functions on modules and classes.

    Was there any issue, discussion or call for this already?

    #MastodonDev

  16. RBS/RBI are great for *type checking* and validating code, but not for *documenting*. End-developers, such as myself, still need to lookup a gem's API documentation and figure out what a certain method accepts or returns. YARD solves that problem nicely, and annotating your APIs with YARD tags helps you mentally double-check your API.
    #yardoc #YARD

  17. RBS/RBI are great for *type checking* and validating code, but not for *documenting*. End-developers, such as myself, still need to lookup a gem's API documentation and figure out what a certain method accepts or returns. YARD solves that problem nicely, and annotating your APIs with YARD tags helps you mentally double-check your API.
    #yardoc #YARD

  18. RBS/RBI are great for *type checking* and validating code, but not for *documenting*. End-developers, such as myself, still need to lookup a gem's API documentation and figure out what a certain method accepts or returns. YARD solves that problem nicely, and annotating your APIs with YARD tags helps you mentally double-check your API.
    #yardoc #YARD

  19. RBS/RBI are great for *type checking* and validating code, but not for *documenting*. End-developers, such as myself, still need to lookup a gem's API documentation and figure out what a certain method accepts or returns. YARD solves that problem nicely, and annotating your APIs with YARD tags helps you mentally double-check your API.
    #yardoc #YARD

  20. RBS/RBI are great for *type checking* and validating code, but not for *documenting*. End-developers, such as myself, still need to lookup a gem's API documentation and figure out what a certain method accepts or returns. YARD solves that problem nicely, and annotating your APIs with YARD tags helps you mentally double-check your API.
    #yardoc #YARD

  21. @katafrakt depends on what you mean by excellent YARD docs. I would recommend:

    * command_kit (rubydoc.info/gems/command_kit)
    * spidr (rubydoc.info/gems/spidr)
    * Ronin gems (ronin-rb.dev/docs/#api)
    * most of my gems since I always use YARD and try to get >80% doc coverage.
    #YARD #yardoc

  22. @katafrakt depends on what you mean by excellent YARD docs. I would recommend:

    * command_kit (rubydoc.info/gems/command_kit)
    * spidr (rubydoc.info/gems/spidr)
    * Ronin gems (ronin-rb.dev/docs/#api)
    * most of my gems since I always use YARD and try to get >80% doc coverage.
    #YARD #yardoc

  23. @katafrakt depends on what you mean by excellent YARD docs. I would recommend:

    * command_kit (rubydoc.info/gems/command_kit)
    * spidr (rubydoc.info/gems/spidr)
    * Ronin gems (ronin-rb.dev/docs/#api)
    * most of my gems since I always use YARD and try to get >80% doc coverage.
    #YARD #yardoc

  24. @katafrakt depends on what you mean by excellent YARD docs. I would recommend:

    * command_kit (rubydoc.info/gems/command_kit)
    * spidr (rubydoc.info/gems/spidr)
    * Ronin gems (ronin-rb.dev/docs/#api)
    * most of my gems since I always use YARD and try to get >80% doc coverage.
    #YARD #yardoc

  25. @katafrakt depends on what you mean by excellent YARD docs. I would recommend:

    * command_kit (rubydoc.info/gems/command_kit)
    * spidr (rubydoc.info/gems/spidr)
    * Ronin gems (ronin-rb.dev/docs/#api)
    * most of my gems since I always use YARD and try to get >80% doc coverage.
    #YARD #yardoc

  26. TIL gemdocs.org/ is a viable alternative to rubydoc.info (currently down). Also supports YARD docs and seems fairly fast.
    #ruby #docs #yard #yardoc

  27. TIL gemdocs.org/ is a viable alternative to rubydoc.info (currently down). Also supports YARD docs and seems fairly fast.
    #ruby #docs #yard #yardoc

  28. TIL gemdocs.org/ is a viable alternative to rubydoc.info (currently down). Also supports YARD docs and seems fairly fast.
    #ruby #docs #yard #yardoc

  29. TIL gemdocs.org/ is a viable alternative to rubydoc.info (currently down). Also supports YARD docs and seems fairly fast.
    #ruby #docs #yard #yardoc

  30. TIL gemdocs.org/ is a viable alternative to rubydoc.info (currently down). Also supports YARD docs and seems fairly fast.
    #ruby #docs #yard #yardoc

  31. Anyone here able to give a good overview of the differences in capabilities between YARD and RBS beyond the fact that the two store types in different places? I know both have type checkers but I’m curious to know if RBS would have the same ability to document types as YARD or if one can cover more situations than the other. #yardoc #ruby #rbs

  32. Anyone here able to give a good overview of the differences in capabilities between YARD and RBS beyond the fact that the two store types in different places? I know both have type checkers but I’m curious to know if RBS would have the same ability to document types as YARD or if one can cover more situations than the other. #yardoc #ruby #rbs

  33. Anyone here able to give a good overview of the differences in capabilities between YARD and RBS beyond the fact that the two store types in different places? I know both have type checkers but I’m curious to know if RBS would have the same ability to document types as YARD or if one can cover more situations than the other. #yardoc #ruby #rbs

  34. Anyone got any good recommendations for getting started with improving #yardoc documentation within an existing project?

    Been trying to see what people recommend online but most of what I have found has been more tutorials on YARD itself than how to actually develop a system for monitoring and increasing the level of documentation within a product using a systematic approach.

    #ruby #yardoc #documentation #softwaredevelopment

  35. Anyone got any good recommendations for getting started with improving #yardoc documentation within an existing project?

    Been trying to see what people recommend online but most of what I have found has been more tutorials on YARD itself than how to actually develop a system for monitoring and increasing the level of documentation within a product using a systematic approach.

    #ruby #yardoc #documentation #softwaredevelopment

  36. Anyone got any good recommendations for getting started with improving #yardoc documentation within an existing project?

    Been trying to see what people recommend online but most of what I have found has been more tutorials on YARD itself than how to actually develop a system for monitoring and increasing the level of documentation within a product using a systematic approach.

    #ruby #yardoc #documentation #softwaredevelopment

  37. How do YARDoc users document calls to DSL methods that are called within another block in a class, and are defined in another gem? Example:

    ```
    class MyClass < OtherGem::DSL

    setup do
    define_some_method :foo, type: String
    end
    end
    ```

    Do I really have to manually type out @!method macros for each defined reader/writer or is there some way to do this using @!macro?
    #ruby #yard #yardoc

  38. How do YARDoc users document calls to DSL methods that are called within another block in a class, and are defined in another gem? Example:

    ```
    class MyClass < OtherGem::DSL

    setup do
    define_some_method :foo, type: String
    end
    end
    ```

    Do I really have to manually type out @!method macros for each defined reader/writer or is there some way to do this using @!macro?
    #ruby #yard #yardoc

  39. How do YARDoc users document calls to DSL methods that are called within another block in a class, and are defined in another gem? Example:

    ```
    class MyClass < OtherGem::DSL

    setup do
    define_some_method :foo, type: String
    end
    end
    ```

    Do I really have to manually type out @!method macros for each defined reader/writer or is there some way to do this using @!macro?
    #ruby #yard #yardoc