15 .TH ROBODoc 1 "V3.2.1 June 1999"
19 ROBODoc - Extract documentation from source code.
29 ROBODoc extracts specially formated documentation from the source code.
30 It allows you to maintain a program and its documentation in a single
36 Generate documentation in ASCII format.
39 Show warranty and copyright statement.
42 Use ANSI C grammar in source items (experimental, HTML only).
45 Enable folding if HTML output is selected (experimental).
47 .IP "GENXREF xreffile"
51 Generate documentation in Amiga Guide format.
54 Generate documentation in HTML format.
57 Create a master index file. In this case call robodoc as
58 robodoc <xrefsfile> <master index file> INDEX
61 Also include headers that are marked internal.
64 Only extract the headers that are marked internal (that start with ****i*).
67 Do not include the source items in the documentation.
70 Generate documentation in LaTeX format.
73 Generate documentation in RTF format.
76 Do not create a document header and footer when creating
77 documentation in LaTeX format. This allows you to include
78 the generated documents into big document or
82 Sort the headers alphabetically.
85 Convert each tab into n spaces.
88 Sets the title that is used for the master index file.
91 Generate a table of contents. Is only useful when you select ASCII as
92 output mode. With all other output modes the Table of contents is
96 Verbose mode, robodoc tells what it is doing.
98 .IP "XREF <xrefsfile>"
99 Use the all xref files listed in the file xrefsfile to make
100 cross links between documents.
102 The following abbreviations are also allowed: -s SORT, -t TOC, -x
103 XREF, -g GENXREF, -i INTERNAL, -io INTERNALONLY, -ts TABSIZE.
105 .SH "ITEM NAMES SUPPORTED"
108 Item's name followed by --, then a short description.
111 Who own the copyright.
113 .IP "SYNOPSIS, USAGE"
116 .IP "FUNCTION, DESCRIPTION, PURPOSE"
123 When did the work start.
125 .IP "MODIFICATION HISTORY, HISTORY"
126 Who has done which changes and when.
128 .IP "INPUTS, ARGUMENTS, OPTIONS, PARAMETERS, SWITCHES"
129 What can we feed into it.
131 .IP "OUTPUT, SIDE EFFECTS"
134 .IP "RESULT, RETURN VALUE"
135 What do we get returned.
138 A clear example of the items use.
146 .IP "WARNINGS, ERRORS"
147 Warning & error-messages.
153 What to implement next & ideas.
156 Where does it come from, where will it work.
159 References to other functions, man pages, other documentation.
161 .IP "METHODS, NEW METHODS"
164 .IP "ATTRIBUTES, NEW ATTRIBUTES"
165 OOP attributes, could also be used for structures.
180 What modules are used by this one.
182 .IP "USED BY, PARENTS"
183 Which modules use this one.
186 Source code inclusion.
188 .SH "HEADER TYPES SUPPORTED"
191 Header that describes the project.
195 Header for a function.
198 Header for a structure.
207 Header for a variable
210 Header for a constant (from define).
216 Generic header, for everything else.
220 A simple example, you have one tcl source file and want to extract
224 robodoc wopr.tcl wopr.tcl.html HTML SORT
227 Assume you have a program divided in two source files, gluify.c and
228 gluify.h. To generate the documentation for this program, complete
229 with cross links, you would use:
232 echo "gluify.c.xref" > gluify.xrefs
233 echo "gluify.h.xref" >> gluify.xrefs
234 robodoc gluify.c gluify.c.html HTML GENXREF gluify.c.xref
235 robodoc gluify.h gluify.h.html HTML GENXREF gluify.h.xref
236 robodoc gluify.c gluify.c.html HTML XREF gluify.xrefs
237 robodoc gluify.h gluify.h.html HTML XREF gluify.xrefs
242 The documentation in HTML format that comes with ROBODoc. Latest
243 version can be found on http://www.xs4all.nl/~rfsber/Robo/ or on
244 http://freshmeat.net/