MAINTAINERS: Add an ARM SMMU section
[qemu.git] / tests / qapi-schema / doc-good.texi
blobe42eace474da0699456f97b1c76301ac1053cf79
1 @c AUTOMATICALLY GENERATED, DO NOT MODIFY
3 @section Section
5 @subsection Subsection
7 @strong{strong} @emph{with emphasis}
8 @code{var} @{in braces@}
9 @itemize @bullet
10 @item
11 List item one
12 @item
13 Two, multiple
14 lines
16 @item
17 Three
18 Still in list
20 @end itemize
22 Not in list
23 @itemize @minus
24 @item
25 Second list
26 Note: still in list
28 @end itemize
30 Note: not in list
31 @enumerate
32 @item
33 Third list
34 is numbered
36 @item
37 another item
39 @example
40 example
41 @end example
43 @example
44 multiple lines
45 @end example
48 @end enumerate
50 Returns: the King
51 Since: the first age
52 Notes:
54 @enumerate
55 @item
56 Lorem ipsum dolor sit amet
58 @item
59 Ut enim ad minim veniam
61 @end enumerate
63 Duis aute irure dolor
65 Example:
67 -> in
68 <- out
69 Examples:
70 @itemize @minus
71 @item
72 @strong{verbatim}
73 @item
74 @{braces@}
75 @end itemize
79 @deftp {Enum} Enum
83 @b{Values:}
84 @table @asis
85 @item @code{one}
86 The @emph{one} @{and only@}
87 @item @code{two}
88 Not documented
89 @end table
90 @code{two} is undocumented
93 @b{If:} @code{defined(IFCOND)}
94 @end deftp
98 @deftp {Object} Base
102 @b{Members:}
103 @table @asis
104 @item @code{base1: Enum}
105 the first member
106 @end table
108 @end deftp
112 @deftp {Object} Variant1
114 A paragraph
116 Another paragraph (but no @code{var}: line)
118 @b{Members:}
119 @table @asis
120 @item @code{var1: string}
121 Not documented
122 @end table
124 @end deftp
128 @deftp {Object} Variant2
132 @end deftp
136 @deftp {Object} Object
140 @b{Members:}
141 @table @asis
142 @item The members of @code{Base}
143 @item The members of @code{Variant1} when @code{base1} is @t{"one"}
144 @item The members of @code{Variant2} when @code{base1} is @t{"two"}
145 @end table
147 @end deftp
151 @deftp {Object} SugaredUnion
155 @b{Members:}
156 @table @asis
157 @item @code{type}
158 One of @t{"one"}, @t{"two"}
159 @item @code{data: Variant1} when @code{type} is @t{"one"}
160 @item @code{data: Variant2} when @code{type} is @t{"two"}
161 @end table
163 @end deftp
166 @subsection Another subsection
169 @deftypefn Command {} cmd
173 @b{Arguments:}
174 @table @asis
175 @item @code{arg1: int}
176 the first argument
177 @item @code{arg2: string} (optional)
178 the second
179 argument
180 @item @code{arg3: boolean}
181 Not documented
182 @end table
184 @b{Note:}
185 @code{arg3} is undocumented
187 @b{Returns:}
188 @code{Object}
190 @b{TODO:}
191 frobnicate
193 @b{Notes:}
194 @itemize @minus
195 @item
196 Lorem ipsum dolor sit amet
197 @item
198 Ut enim ad minim veniam
200 @end itemize
202 Duis aute irure dolor
204 @b{Example:}
205 @example
206 -> in
207 <- out
208 @end example
210 @b{Examples:}
211 @example
212 - *verbatim*
213 - @{braces@}
214 @end example
216 @b{Since:}
217 2.10
219 @end deftypefn
223 @deftypefn Command {} cmd-boxed
225 If you're bored enough to read this, go see a video of boxed cats
227 @b{Arguments:} the members of @code{Object}
229 @b{Example:}
230 @example
231 -> in
233 <- out
234 @end example
236 @end deftypefn