GNOME-DOC
NAME SYNOPSIS DESCRIPTION OPTIONS FORMAT OF COMMENTS AUTHOR
gnome-doc - Documentation tool for GNOME
gnome-doc [ __-docbook? [ __-function funcname [[ -function funcname ...?__ ] __c files__?
gnome-doc This will read a 'c' file and scan for embedded comments in the style of gnome comments (+minor extensions - see below).
All output goes to stdout, with errors to stderr.
-docbook -html -text -man
Set output format using one of -docbook -html -text or -man. Default is man.
-function
If set, then only generate documentation for the given function(s). All other functions are ignored.
c files
list of 'c' files to process
In the following table, (...)? signifies optional structure. (...)* signifies 0 or more structure elements. /**
(* a blank line)?
(*)?*/ So .. the trivial example would be: /**
my_function
If the Description: header tag is omitted, then there must be a blank line after the last parameter specification. e.g. /**
*
or, could also use: /**
etc. All descriptions can be multiline, apart from the short function description. All descriptive text is further processed, scanning for the following special patterns, which are highlighted appropriately. funcname() - function $ENVVAR - environmental variable struct_name - name of a structure @parameter - name of a parameter %CONST - name of a constant.
This manual page was written by Christian Marillat
One page links to gnome-doc(1):