Skip to content

nim doc recursive should allow specifying a directory and flattened structure #14376

@mratsim

Description

@mratsim

Currently using the nim doc for the global project via

nim doc --project --index:on --git.url: --git.commit: <main_filename>.nim
nim buildIndex -o:htmldocs/theindex.html htmldocs

will recursively generate doc for each Nim file of the project and put them next to the Nim files.

Providing the options to:

  • Put all the docs in a target directory (keeping the original hierarchy)
  • Put all the docs in a target directory (using a flattened hierarchy)

would help automating doc generation and their publication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentation GenerationRelated to documentation generation (but not content).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions