Skip to content

RFC: convert to use yard for documentation #1996

Closed
@flavorjones

Description

@flavorjones

We're already using yard to generate the docs at https://nokogiri.org/rdoc/index.html, but we're not taking advantage of some of yard's features (like the ability to embed mixin methods, e.g., Searchable in Node and NodeSet), and we're certainly not using yard syntax (e.g., all the call-seq annotations that we currently use are ignored).

So I'm thinking it would be best to convert the doc formatting to be yard-compatible markdown, and eliminate rdoc format entirely from the codebase.

I'd love to hear comments on this proposal.

Note to future self: try using https://github.com/postmodern/hoe-yard to drive some of this; and then have the nokogiri.org docs task just call nokogiri's own rake task for the site generation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions