home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
- Autodoc Documentation
-
- Autodoc is a program which aides in the documentation of C programs.
- It will read a C source code file looking for a special comment statement
- ("/*%%*/") indicating where to start documentation. If it finds the start
- documentation marker, it will proceed to create a modified copy of the
- source file which contains some special comment blocks. One comment block
- is placed at the beginning of the file listing all functions contained in
- the file. Additional comment blocks are placed at the beginning of each
- function which lists the arguments required for that function. Autodoc
- can also be used to update the documentation for files in which functions
- have been added. In this case it will determine which funcions do not
- have the special comment block (determined by comment blocks starting
- with "/*+*") and add the special comment blocks for them. In the update
- mode, Autodoc will also add the name of the undocumented module to the
- list at the beginning of the file.
-
- To use autodoc you must edit the source file to contain the start
- documentation marker "/*%%*/" at a suitable point. Please note that the
- marker should be placed after global function type declaration statements
- and before the first function to be documented. Immediately before the
- first function is generally the best spot. The command line invocation of
- autodoc is:
-
- autodoc sourcefile [-option -option ...] where options are:
-
- -v view undocumented modules found only do not document.
- -aauthor give authors name. If ommitted the program will
- prompt for the authors name.
- -dMM/DD/YY revision date. If ommitted the program will use
- the current system date.
- -f[filename] create or append to a function file declaration.
- this will cause the program to write an include file which contains all
- of the function declarations in it. The default name for this
- file is sourcefile.h.
- -i accept input from the keyboard describing new functions
- yet to be written.
- -nnewfilename specifies the file to be created as a documented
- copy of sourcefile. Default is "tempout".
- sourcefile must be the complete filename including .c extension.
-
- Bugs:
-
- I'm sure that there are some so if you find 'em you fix 'em.
-
- Release Notice:
- To show you what a nice guy I am I'm putting this in the public
- domain. If you make any zippy improvements I would appreciate a copy of
- the source code changes. Send to :
- Ed Alford
- 1577 Mendelssohn Drive
- Westlake Ohio 44145