Debian Codegraph @

doc/README

raw
1 Generating doxygen output on Windows:
2
3 1. Make sure the doc/doxy-config file points to the correct location
4 of graphwiz's "dot" exectuable for your system. (DOT_PATH variable)
5 2. Load the doxygen configuration file (doc/doxy-config) into the
6 doxygen wizard.
7 3. Start, output will be put in /doc/html.
8
9 Generating doxygen output on Linux:
10
11 1. Make sure the doc/doxy-config file points to the correct location of
12 graphwiz's "dot" exectuable for your system. (DOT_PATH variable)
13 2. Run "doxygen doxy-config", output will be put in /doc/html
14
15 -------------------------------------------------------------------------
16
17 How to document classes:
18
19 /**
20 * @class ClassName
21 *
22 * @brief Enter a brief description of the
23 * class, the first sentence
24 * will be included in the brief description.
25 *
26 * Anything after the first sentence, and included
27 * in the "@class" block will be part of the
28 * detailed description, available from
29 * the doxygen class file.
30 *
31 * The "@brief" description will be used to
32 * describe the class on the class list.
33 *
34 */
35
36 How to document functions:
37
38 /**
39 *
40 * @brief Description of the function. Will appear before function
41 * definition. Don't really need "@brief" as JAVADOC_AUTOBRIEF is
42 * turned on.
43 *
44 * @param Defailed parameter text, if needed. Will appear in
45 * separate parameter secion.
46 *
47 * @retval Detailed text about return value, if needed.
48 *
49 */
50
51 Other Notes:
52
53 1. Sometimes the html directory has to be cleared out and the entire
54 doxygen output regenerated if the graphics get screwed up.
55
56 2. Need "dot" from graphwiz. In some doxygen implementations it is
57 included.
58
59 3. Can generate called/call graphs. To enable or disable call graphs
60 for each function, toggle CALL_GRAPH and CALLER_GRAPH variables in the
61 config file. To enable for specific functions when CALL_GRAPH is set
62 to no, use the @callgraph/@callergraph commands.
63
64 4. @sa "See also" alias.
65 @note "Note" alias
66 @exception
67 @class
68 @param
69 @return
70 @retval
71
72 ProtoGraph::~Vertice has an example of function text and a @note.
73
74 5. Can turn off documentation of inherited functions and properties.
75
76 8. Modify INPUT in config file to add additional code/directories, e.g.
77
78 INPUT = ../common
79
80 #Add protolib to the doxygen output
81 #INPUT += ../../protolib/common
82
83 #To add files
84 #INPUT += ../../protolib/common/protoApp.h ../../protolib/common/protoApp.cpp