robodoc1
Extract documentation from source code.
Usage
robodoc --src
<source>
--doc
<destination>
[options]
Overview
ROBODoc extracts specially formated documentation from the source code. It allows you to maintain a program and its documentation in a single file.
Options
-
-c -
Show the copyright message.
-
--version -
Print version information and exit.
-
--doc -
Define the documentation directory or documentation file. A directory should start with a '/' or a './' and should not include any '..'.
-
--src -
Define the source directory or source file. A directory should start with a '/' or a './' and should not include any '..'.
-
--ascii -
Generate documentation in ASCII format.
-
--html -
Generate documentation in HTML format.
-
--dbxml -
Generate documentation in XML DocBook format.
-
--latex -
Generate documentation in LaTeX format.
-
--rtf -
Generate documentation in RTF format.
-
--index -
Create an additional master index file.
-
--multidoc -
Store all documentation in separate files.
-
--singledoc -
Store all documentation in a single file.
-
--singlefile -
Generate a single document from a single file
The complete list of options can be found in the HTML documentation. (Reference at the end of this page.)
Examples
robodoc --src ./ --doc myproject --singledoc --html
Creates a document called myproject.html from all source files in the current directory.
robodoc --src ./myproject/
--doc ./myprojectdoc --multidoc --html --index
Creates separate documents for all the source files found in the directory ./myproject they are stored in the directory ./myprojectdoc. A master index file called ./myprojectdoc/masterindex.html is also created. This provides links to all the individual files.
Releases
5 releases since Debian 3.0 (Woody); the text changed 3 times.
--ascii since Debian 3.1 (Sarge);
--dbxml since Debian 5.0 (Lenny);
--doc since Debian 3.1 (Sarge);
--html since Debian 3.1 (Sarge);
--index since Debian 3.1 (Sarge);
--latex since Debian 3.1 (Sarge);
--multidoc since Debian 3.1 (Sarge);
--rtf since Debian 3.1 (Sarge);
--singledoc since Debian 3.1 (Sarge);
--singlefile since Debian 5.0 (Lenny);
--src since Debian 3.1 (Sarge);
--version since Debian 3.1 (Sarge);
-c since Debian 5.0 (Lenny).
--cmode until Debian 5.0 (Lenny);
--css until Debian 5.0 (Lenny);
--footless until Debian 5.0 (Lenny);
--headless until Debian 5.0 (Lenny);
--ignore_case_when_linking until Debian 5.0 (Lenny);
--internal until Debian 5.0 (Lenny);
--internalonly until Debian 5.0 (Lenny);
--lock until Debian 5.0 (Lenny);
--nodesc until Debian 5.0 (Lenny);
--nopre until Debian 5.0 (Lenny);
--nosource until Debian 5.0 (Lenny);
--rc until Debian 5.0 (Lenny);
--sections until Debian 5.0 (Lenny);
--tabsize until Debian 5.0 (Lenny);
--tell until Debian 5.0 (Lenny);
--toc until Debian 5.0 (Lenny);
-v until Debian 3.0 (Woody).