NATURALDOCS(1)
π NATURALDOCS π
okay bestie, so this is the manual page for naturaldocs from the General Commands Manual section β like, the classic man 1 vibe, but make it cute. she's a documentation generator and she's iconic. let's go π«Ά
β¨ NAME β¨
NaturalDocs β an extensible, multi-language documentation generator π¦
β¨ SYNOPSIS β¨
naturaldocs -i <input (source) directory> [-i <input (source) directory>
...] -o <output format> <output directory> [-o <output format> <output
directory> ...] -p <project directory> [options]
β¨ DESCRIPTION β¨
so this manual page gives you the briefly version of the .B naturaldocs command (yes that .B is just sitting there in the original, we love a legacy artifact π). real talk though, heads up on one thing:
not me having two names π βnaturaldocsis actually a wrapper script that, on Debian, invokes the real NaturalDocs perl program. so the real, original name of the program isNaturalDocs, but on Debian systems you invoke it asnaturaldocs. same girl, different outfit π
Natural Docs is is an open-source, extensible, multi-language documentation generator. (the "is is" is canon, bestie, I don't make the rules π)
here's the slay: you document your code in a natural syntax that reads like plain English. Natural Docs then scans your code and builds high-quality HTML documentation from it. no cap. it's giving effortless. periodt. π₯
β¨ OPTIONS β¨
a summary of options, extracted from the help printed by the -h switch, is included below, bestie. for a complete description of how NaturalDocs works, go read the text files in the /usr/share/doc/naturaldocs directory. iykyk π
Required parameters π
these ones? mandatory. you literally cannot skip them. sorry babes.
-i,--input,--sourceDIR β specifies an input (source) directory. Required. can be specified multiple times. π-o,--outputFMT DIR β specifies an output format and directory. Required. can be specified multiple times, but only once per directory. possible output formats areHTMLandFramedHTML. β¨-p,--projectDIR β specifies the project directory. Required. there needs to be a unique project directory for every source directory. one-to-one, no sharing, that's the rule πΈ
Optional parameters π¦
-s,--styleSTYLE [STYLE ...] β specifies the CSS style when building HTML output. if multiple styles are specified, they will all be included in the order given. order matters, bestie π-img,--imageDIR β specifies an image directory. can be specified multiple times. start with*to specify a relative directory, as in-img */images. π-do,--documented-onlyβ specifies only documented code aspects should be included in the output. if you didn't document it, she's not showing it π-t,--tab-lengthLEN β specifies the number of spaces tabs should be expanded to. this only needs to be set if you use tabs in example code and text diagrams. defaults to4. β-xi,--exclude-input,--exclude-sourceβ excludes an input (source) directory from the documentation. automatically done for the project and output directories. can be specified multiple times. π«-nag,--no-auto-groupβ turns off auto-grouping completely. (the flag is literally callednag, iconic naming, no notes π)-oft,--only-file-titlesβ source files will only use the file name as the title. short, sweet, minimal π-r,--rebuildβ rebuilds all output and data files from scratch. does not affect the menu file. π§-ro,--rebuild-outputβ rebuilds all output files from scratch. π-q,--quietβ suppresses all non-error output. she's silent but she's still working π-?,-h,--helpβ displays syntax reference. your lil cheat sheet π
β¨ AUTHOR β¨
NaturalDocs was written by Greg Valure <gregvalure@naturaldocs.org>. π
this manual page was written by Federico Di Gregorio <fog@debian.org>, for the Debian project (but may be used by others). π«Ά
and that's the whole page bestie, you ate that πβ¨
cute lil sign-off: this was the General Commands Manual flavor of NATURALDOCS(1), dated May 2007 β vintage but still slaying π
π¦
π¦ where this page comes from
- debian bookworm: naturaldocs 1.51-3
- debian trixie: naturaldocs 1.51-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms