doctext(1)
π doctext(1) β doc pages, but make it group-chat π
okay bestie, this is the manual page for doctext(1), and itβs literally about generating documentation pages from source files β¨. Think of it as the little Unix gremlin that turns your source into docs β no cap.
πΈ NAME πΈ
doctext β Generate documentation pages from source files π«Ά
π¦ SYNOPSIS π¦
doctext [ -mpath path ] [ -ext n ] [ -I filename ] [ -latex ]
[ -html ] [ -index filename ] [ -indexdir filename ]
[ -jumpfile filename ] [ -outfile filename ]
[ -mapref filename ] [ -nolocation ] [ -location ]
[ -defn defnfile ] [ -dosnl ] [ -skipprefix name ]
[ -ignore string ] [ -oldargstyle ]
[ -heading string ] [ -basedir dirname ] filenames
[ -Wargdesc ] [ -Wnone ]
π INPUT PARAMETERS π
-mpathpath β Sets the path where the man pages will be written π-extn β Sets the extension (1-9,l, etc) π-nolocationβ Donβt give the filename where the man page info was π-Ifilename β Filename contains the public includes needed by these routines πΈ-latexβ Generate latex output rather than man format files β¨-htmlβ Generate html (WWW) output rather than man format files π-manβ Generate man (nroff) output (default) π-indexfilename β Generate a index file appropriate fortohtml(for generating WWW files) π¦-defndefnfilename β Read commands from this file after loading the default commands π§-mapreffilename β Read hyperlink database and apply to output π-indexdirdirname β Sets the root directory for the index file entries. For example:
-index foo.cit -indexdir
\"http://www.mcs.anl.gov/foo/man\"
-outfilefilename β Put the manpages in the indicated file π-headingname β Name for the heading (middle of top line) π-quotefmtβ support this exact thing:
support '\\tt' and `\\em`
-oldargstyleβ Allow multiple'. 'for an argument list, instead of using'+ .... -'for argument lists with multiple entries π«-skipprefixname β skip'name'at the beginning of each line. This may be used for Fortran or Shell sources π-ignorestring β skip'name'in a function synopsis. This can be used to remove special keywords needed to build the routine but not needed by the user (e.g., special export keywords when building DLLs) π-keywordfilename β Place keyword entries at the end of the specified file π-locdirdirectory β Uses directory in theLocation:field π-dosnlβ Generate DOS style files (return-newline instead of newline) πΎfilenamesβ Names of the files from which documents are to be extracted π-Wargdescβ Warn about arguments with no description π-Wnoneβ Turn off warnings π€«
also in the synopsis squad: -jumpfile filename, -location, and -basedir dirname β theyβre in the code block above, and thatβs all the tea this page gives us on them π΅
π§ LOCATION π§
doctext.cc
mwah π β source/version: doctext(1) Β· date: 6/23/2019
π¦ where this page comes from
- arch rolling: sowing 1.1.26.12-2 Β· GPL
- nixos 26.05: sowing 1.1.26.12
- nixpkgs unstable: sowing 1.1.26.12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms