2 # This file sets the behavior of the txh generator
4 # Lines starting with # or spaces are skiped except in strings or in [Generate]
5 # Be carefull with [ it delimits sections!
10 # No external program is needed!
11 # @.html means: Copy the temporal file to xxxxx.html
14 Name="Direct HTML 3.X format"
18 SectionStart=/**[txh]**
24 # Up to 16 definitions
26 # Codes for the behavior of the definitions:
27 # 1 Normal, put the content if found.
28 # 2 Repeat, use the last value found in the file, ~no is an exeption, ~clear stops
29 # 3 If not found replace by the prototype.
30 # 4 If not found replace by the class.
31 # 5 If not found replace by the name of the function
32 # 6 It disables the node generation for this comment. The variable is
33 # stored in the first variable that have associations and is in the comment.
35 # Additionally there are 2 special variables:
37 # 91 Line number of the end of the comment
38 # 92 Name of the var 0 in the format: ~0 ~~Distinguish{(~Distinguish)~} (node name)
40 # 0 The first variable is the main index variable
42 AddDefinition=Function,5
46 AddDefinition=Include,2
48 AddDefinition=Module,2
50 AddDefinition=Prototype,3
52 AddDefinition=Description,1
54 AddDefinition=Return,1
56 AddDefinition=Example,1
58 AddDefinition=Comments,6
60 AddDefinition=Command,1
62 # It says what variable is added to distinguish between 2 vars 0 that are equal
68 # Up to 8 associations
70 # The associations are between the 0 variable and another variable.
72 # Name in main menu, node, variable, optional to add to each node
74 AddAssoc=List by classes,Classes,1,(class)
75 AddAssoc=List by modules,Modules,3
76 AddAssoc=List by files,Files,90
77 AddAssoc=List by GDB/MI command,Command,9
81 # All must be delimited by ", they can be used in the GenMain section
84 Constant="GDB/MI library"
86 # Description for the help
87 Constant="This document describes the functions of libmigdb library
89 This document applies to version 0.8.10 of the GDB/Machine interface
92 Most of the C++ interface is fully documented. But not all the C
93 interface is docummented.
95 The name of the high level C functions are derived from the corresponding
96 GDB/MI command. For this reason I recommend using the chapter 'GDB/MI' of
97 gdb documentation as main reference. As an example: The gdb command
98 '-thread-list-ids' is implemented in the gmi_thread_list_ids function. This
99 function uses the lowlevel function mi_thread_list_ids.
101 The mi_gdb.h header contains a lot of comments about what does each
102 function. And the examples show how to them together.
108 # You can enclose these values between " to make more clear where
109 # they start and end. Use \n,\r,\t and \" like in C. Use \ at the
110 # end to concatenate like in C.
112 # @p = end of paragraph
120 # @{value} is the special cross ref.
121 # ~0 Is the visible name of a reference
122 # ~1 Is the real name of a reference
124 CrossRef="<a href=\"#~1\">~0</a>"
126 # What we must get from a @@ sequence
132 # The format is @<name>{parameters ...}
134 subtitle="<Font Size=+1><u>~0</u></Font><p>"
137 link="<a href=\"~0\">~1</a>"
138 mailto="<a href=\"mailto:~0\">~1</a>"
141 # This section says how to translate ASCIIs
168 # Use ~number to use one variable
169 # Use ~~number{} for conditional, all the code inside {} will become
171 # This section isn't passed for the macro expansion so here you are
172 # free to use special commands for the formater.
177 <center><Font Size=+2>~0</Font> (~90 ~91)</center>
179 <Font Size=+1><u>Syntax</u></Font><p>
183 # This line is a comment, but the next is code
193 <Font Size=+1><u>Member of the class:</u></Font>
199 <Font Size=+1><u>Description</u></Font><p>
205 <Font Size=+1><u>Return Value</u></Font><p>
211 <Font Size=+1><u>Example</u></Font><p>
220 # ~1 is the visible name
221 # ~2 is the name of the node
223 Entry="<li><a href=\"#~2\">~1</a>"
227 # ~1 is the name of the association
228 # ~2 is the menu for it
237 # ~1 is the name of the association
238 # ~2 is the name without the distinguish
239 # ~3 is the comment for it
240 # ~4 is the menu for it
253 # ~2 Name of the function list node
254 # ~3 Menu for all the functions
255 # ~4 All the associations code
256 # ~5 All the function nodes
257 # ~50+ Values from section Replace