-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nim doc
recursive should allow specifying a directory and flattened structure
#14376
Comments
did you see #13223 (comment) ? nim doc --project --index:on --outdir:htmldocs compiler/nim.nim
nim buildIndex -o:htmldocs/theindex.html htmldocs #13223 made
I had originally suggested that to deal with design issues with the old |
Ah the docgen documentation is lagging behind |
@mratsim #14324 should fix this (in particular all points mentioned in #14376 (comment)); see that comment for why we don't have a |
… all projects, many bug fixes with nim doc (nim-lang#14324) * refs nim-lang#6583 fix nim doc output * changelog * change default for outDir when unspecified * cleanups * --project implies --index
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:
would help automating doc generation and their publication.
The text was updated successfully, but these errors were encountered: