bc5197109d35e16aab7d3b61a99f30588a41bef0
[pve-docs.git] / asciidoc / mediawiki.conf
1 #
2 # mediawiki.conf (based on html5.conf)
3 #
4 # Asciidoc configuration file.
5 # html5 backend for Proxmox VE mediawiki imports
6 #
7
8 [miscellaneous]
9 outfilesuffix=.html
10
11 [attributes]
12 basebackend=html
13 basebackend-html=
14 basebackend-html5=
15 basebackend-mediawiki=
16
17 [replacements2]
18 # Line break.
19 (?m)^(.*)\s\+$=\1<br>
20
21 [replacements]
22 ifdef::asciidoc7compatible[]
23 # Superscripts.
24 \^(.+?)\^=<sup>\1</sup>
25 # Subscripts.
26 ~(.+?)~=<sub>\1</sub>
27 endif::asciidoc7compatible[]
28
29 [ruler-blockmacro]
30 <hr>
31
32 [pagebreak-blockmacro]
33 <div style="page-break-after:always"></div>
34
35 [blockdef-pass]
36 asciimath-style=template="asciimathblock",subs=()
37 latexmath-style=template="latexmathblock",subs=()
38
39 [macros]
40 (?u)^(?P<name>audio|video)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=#
41 # math macros.
42 # Special characters are escaped in HTML math markup.
43 (?su)[\\]?(?P<name>asciimath|latexmath):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[specialcharacters]
44 (?u)^(?P<name>asciimath|latexmath)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#[specialcharacters]
45
46 [asciimath-inlinemacro]
47 `{passtext}`
48
49 [asciimath-blockmacro]
50 <div class="mathblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
51 <div class="content">
52 <div class="title">{title}</div>
53 `{passtext}`
54 </div></div>
55
56 [asciimathblock]
57 <div class="mathblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
58 <div class="content">
59 <div class="title">{title}</div>
60 `|`
61 </div></div>
62
63 [latexmath-inlinemacro]
64 {passtext}
65
66 [latexmath-blockmacro]
67 <div class="mathblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
68 <div class="content">
69 <div class="title">{title}</div>
70 {passtext}
71 </div></div>
72
73 [latexmathblock]
74 <div class="mathblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
75 <div class="content">
76 <div class="title">{title}</div>
77 |
78 </div></div>
79
80 [image-inlinemacro]
81 <span class="image{role? {role}}">
82 <a class="image" href="{link}">
83 {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}>
84 {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}
85 {data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print 'src=\"data:'+mimetypes.guess_type(r'{target}')[0]+';base64,'; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
86 {link#}</a>
87 </span>
88
89 [image-blockmacro]
90 <div class="imageblock{style? {style}}{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}{align? style="text-align:{align};"}{float? style="float:{float};"}>
91 <div class="content">
92 <a class="image" href="{link}">
93 {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
94 {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}
95 {data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print 'src=\"data:'+mimetypes.guess_type(r'{target}')[0]+';base64,'; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
96 {link#}</a>
97 </div>
98 <div class="title">{caption={figure-caption} {counter:figure-number}. }{title}</div>
99 </div>
100
101 [audio-blockmacro]
102 <div class="audioblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
103 <div class="title">{caption=}{title}</div>
104 <div class="content">
105 <audio src="{imagesdir=}{imagesdir?/}{target}"{autoplay-option? autoplay}{nocontrols-option! controls}{loop-option? loop}>
106 Your browser does not support the audio tag.
107 </audio>
108 </div></div>
109
110 [video-blockmacro]
111 <div class="videoblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
112 <div class="title">{caption=}{title}</div>
113 <div class="content">
114 <video src="{imagesdir=}{imagesdir?/}{target}"{width? width="{width}"}{height? height="{height}"}{poster? poster="{poster}"}{autoplay-option? autoplay}{nocontrols-option! controls}{loop-option? loop}>
115 Your browser does not support the video tag.
116 </video>
117 </div></div>
118
119 [unfloat-blockmacro]
120 <div style="clear:both;"></div>
121
122 [toc-blockmacro]
123 template::[toc]
124
125 [indexterm-inlinemacro]
126 # Index term.
127 {empty}
128
129 [indexterm2-inlinemacro]
130 # Index term.
131 # Single entry index term that is visible in the primary text flow.
132 {1}
133
134 [footnote-inlinemacro]
135 # footnote:[<text>].
136 <span class="footnote"><br>[{0}]<br></span>
137
138 [footnoteref-inlinemacro]
139 # footnoteref:[<id>], create reference to footnote.
140 {2%}<span class="footnoteref"><br><a href="#_footnote_{1}">[{1}]</a><br></span>
141 # footnoteref:[<id>,<text>], create footnote with ID.
142 {2#}<span class="footnote" id="_footnote_{1}"><br>[{2}]<br></span>
143
144 [callout-inlinemacro]
145 ifndef::icons[]
146 <b>&lt;{index}&gt;</b>
147 endif::icons[]
148 ifdef::icons[]
149 ifndef::data-uri[]
150 <img src="{icon={iconsdir}/callouts/{index}.png}" alt="{index}">
151 endif::data-uri[]
152 ifdef::data-uri[]
153 <img alt="{index}" src="data:image/png;base64,
154 {sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/callouts/{index}.png}")}"}">
155 endif::data-uri[]
156 endif::icons[]
157
158 # Comment line macros.
159 [comment-inlinemacro]
160 {showcomments#}<br><span class="comment">{passtext}</span><br>
161
162 [comment-blockmacro]
163 {showcomments#}<p><span class="comment">{passtext}</span></p>
164
165 [literal-inlinemacro]
166 # Inline literal.
167 <tt><span class="monospaced">{passtext}</span></tt>
168
169 # List tags.
170 [listtags-bulleted]
171 list=<div class="ulist{style? {style}}{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
172 item=<li>|</li>
173 text=<p>|</p>
174
175 [listtags-numbered]
176 # The start attribute is not valid XHTML 1.1 but all browsers support it.
177 list=<div class="olist{style? {style}}{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol class="{style}"{start? start="{start}"}>|</ol></div>
178 item=<li>|</li>
179 text=<p>|</p>
180
181 [listtags-labeled]
182 list=<div class="dlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
183 entry=
184 label=
185 term=<dt class="hdlist1{strong-option? strong}">|</dt>
186 item=<dd>|</dd>
187 text=<p>|</p>
188
189 [listtags-horizontal]
190 list=<div class="hdlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>{labelwidth?<col width="{labelwidth}%">}{itemwidth?<col width="{itemwidth}%">}|</table></div>
191 label=<td class="hdlist1{strong-option? strong}">|</td>
192 term=|<br>
193 entry=<tr>|</tr>
194 item=<td class="hdlist2">|</td>
195 text=<p style="margin-top: 0;">|</p>
196
197 [listtags-qanda]
198 list=<div class="qlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
199 entry=<li>|</li>
200 label=
201 term=<p><em>|</em></p>
202 item=
203 text=<p>|</p>
204
205 [listtags-callout]
206 ifndef::icons[]
207 list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
208 item=<li>|</li>
209 text=<p>|</p>
210 endif::icons[]
211 ifdef::icons[]
212 list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>|</table></div>
213 ifndef::data-uri[]
214 item=<tr><td><img src="{iconsdir}/callouts/{listindex}.png" alt="{listindex}"></td><td>|</td></tr>
215 endif::data-uri[]
216 ifdef::data-uri[]
217 item=<tr><td><img alt="{listindex}" src="data:image/png;base64, {sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/callouts/{listindex}.png}")}"}"></td><td>|</td></tr>
218 endif::data-uri[]
219 text=|
220 endif::icons[]
221
222 [listtags-glossary]
223 list=<div class="dlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
224 label=
225 entry=
226 term=<dt>|</dt>
227 item=<dd>|</dd>
228 text=<p>|</p>
229
230 [listtags-bibliography]
231 list=<div class="ulist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
232 item=<li>|</li>
233 text=<p>|</p>
234
235 [tags]
236 # Quoted text.
237 emphasis=<em>{1?<span class="{1}">}|{1?</span>}</em>
238 strong=<strong>{1?<span class="{1}">}|{1?</span>}</strong>
239 monospaced=<tt><span class="monospaced{1? {1}}">|</span></tt>
240 singlequoted={lsquo}{1?<span class="{1}">}|{1?</span>}{rsquo}
241 doublequoted={ldquo}{1?<span class="{1}">}|{1?</span>}{rdquo}
242 unquoted={1?<span class="{1}">}|{1?</span>}
243 superscript=<sup>{1?<span class="{1}">}|{1?</span>}</sup>
244 subscript=<sub>{1?<span class="{1}">}|{1?</span>}</sub>
245
246 ifdef::deprecated-quotes[]
247 # Override with deprecated quote attributes.
248 emphasis={role?<span class="{role}">}<em{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</em>{role?</span>}
249 strong={role?<span class="{role}">}<strong{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</strong>{role?</span>}
250 monospaced=<span class="monospaced{role? {role}}"{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</span>
251 singlequoted={role?<span class="{role}">}{1,2,3?<span style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?">}{amp}#8216;|{amp}#8217;{1,2,3?</span>}{role?</span>}
252 doublequoted={role?<span class="{role}">}{1,2,3?<span style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?">}{amp}#8220;|{amp}#8221;{1,2,3?</span>}{role?</span>}
253 unquoted={role?<span class="{role}">}{1,2,3?<span style="{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}">}|{1,2,3?</span>}{role?</span>}
254 superscript={role?<span class="{role}">}<sup{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</sup>{role?</span>}
255 subscript={role?<span class="{role}">}<sub{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</sub>{role?</span>}
256 endif::deprecated-quotes[]
257
258 # Inline macros
259 [http-inlinemacro]
260 <a href="{name}:{target}">{0={name}:{target}}</a>
261 [https-inlinemacro]
262 <a href="{name}:{target}">{0={name}:{target}}</a>
263 [ftp-inlinemacro]
264 <a href="{name}:{target}">{0={name}:{target}}</a>
265 [file-inlinemacro]
266 <a href="{name}:{target}">{0={name}:{target}}</a>
267 [irc-inlinemacro]
268 <a href="{name}:{target}">{0={name}:{target}}</a>
269 [mailto-inlinemacro]
270 <a href="mailto:{target}">{0={target}}</a>
271 [link-inlinemacro]
272 <a href="{target}">{0={target}}</a>
273 [callto-inlinemacro]
274 <a href="{name}:{target}">{0={target}}</a>
275 # anchor:id[text]
276 [anchor-inlinemacro]
277 <a id="{target}"></a>
278 # [[id,text]]
279 [anchor2-inlinemacro]
280 <a id="{1}"></a>
281 # [[[id]]]
282 [anchor3-inlinemacro]
283 <a id="{1}"></a>[{1}]
284 # xref:id[text]
285 [xref-inlinemacro]
286 <a href="#{target}">{0=[{target}]}</a>
287 # <<id,text>>
288 [xref2-inlinemacro]
289 <a href="#{1}">{2=[{1}]}</a>
290
291 # Special word substitution.
292 [emphasizedwords]
293 <em>{words}</em>
294 [monospacedwords]
295 <tt>{words}</tt>
296 [strongwords]
297 <strong>{words}</strong>
298
299 # Paragraph substitution.
300 [paragraph]
301 <div class="paragraph{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
302 {thumbnail#}<a class="image" href="/pve-docs/images/screenshot/{thumbnail}">
303 {thumbnail#}<img src="/pve-docs/images/screenshot/{thumbnail}" alt="{alt={thumbnail}}" width=250 style="float:{float=right};">
304 {thumbnail#}</a>
305 {title#}<div class="title"><h5>{title}</h5></div>}
306 <p>
307 |
308 </p></div>
309
310 [admonitionparagraph]
311 template::[admonitionblock]
312
313 # Delimited blocks.
314 [listingblock]
315 <div class="listingblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
316 <div class="title">{caption=}{title}</div>
317 <div class="content monospaced">
318 <pre><tt>
319 |
320 </tt></pre>
321 </div></div>
322
323 [literalblock]
324 <div class="literalblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
325 <div class="title">{title}</div>
326 <div class="content monospaced">
327 <pre><tt>
328 |
329 </tt></pre>
330 </div></div>
331
332 [sidebarblock]
333 <div class="sidebarblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
334 <div class="content">
335 <div class="title">{title}</div>
336 |
337 </div></div>
338
339 [openblock]
340 <div class="openblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
341 <div class="title">{title}</div>
342 <div class="content">
343 |
344 </div></div>
345
346 [partintroblock]
347 template::[openblock]
348
349 [abstractblock]
350 template::[quoteblock]
351
352 [quoteblock]
353 <div class="quoteblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
354 <div class="title">{title}</div>
355 <div class="content">
356 |
357 </div>
358 <div class="attribution">
359 <em>{citetitle}</em>{attribution?<br>}
360 &#8212; {attribution}
361 </div></div>
362
363 [verseblock]
364 <div class="verseblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
365 <div class="title">{title}</div>
366 <pre class="content">
367 |
368 </pre>
369 <div class="attribution">
370 <em>{citetitle}</em>{attribution?<br>}
371 &#8212; {attribution}
372 </div></div>
373
374 [exampleblock]
375 <div class="exampleblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
376 <div class="title">{caption={example-caption} {counter:example-number}. }{title}</div>
377 <div class="content">
378 |
379 </div></div>
380
381 [admonitionblock]
382 <div class="admonitionblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
383 <table><tr>
384 <td class="icon">
385 {data-uri%}{icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}">
386 {data-uri#}{icons#}<img alt="{caption}" src="data:image/png;base64,
387 {data-uri#}{icons#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/{name}.png}")}"}">
388 {icons%}<div class="title">{caption}</div>
389 </td>
390 <td class="content">
391 <div class="title">{title}</div>
392 |
393 </td>
394 </tr></table>
395 </div>
396
397 # Tables.
398 [tabletags-default]
399 colspec=<col{autowidth-option! style="width:{colpcwidth}%;"}>
400 bodyrow=<tr>|</tr>
401 headdata=<th class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }>|</th>
402 bodydata=<td class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }>|</td>
403 paragraph=<p class="tableblock">|</p>
404
405 [tabletags-header]
406 paragraph=<p class="tableblock header">|</p>
407
408 [tabletags-emphasis]
409 paragraph=<p class="tableblock"><em>|</em></p>
410
411 [tabletags-strong]
412 paragraph=<p class="tableblock"><strong>|</strong></p>
413
414 [tabletags-monospaced]
415 paragraph=<p class="tableblock monospaced"><tt>|</tt></p>
416
417 [tabletags-verse]
418 bodydata=<td class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }><div class="verse">|</div></td>
419 paragraph=
420
421 [tabletags-literal]
422 bodydata=<td class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }><div class="literal monospaced"><pre><tt>|</tt></pre></div></td>
423 paragraph=
424
425 [tabletags-asciidoc]
426 bodydata=<td class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }><div>|</div></td>
427 paragraph=
428
429 [table]
430 <table class="wikitable tableblock frame-{frame=all} grid-{grid=all}{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}
431 style="
432 margin-left:{align@left:0}{align@center|right:auto}; margin-right:{align@left|center:auto}{align@right:0};
433 float:{float};
434 {autowidth-option%}width:{tablepcwidth}%;
435 {autowidth-option#}{width#style=width:{tablepcwidth}%;}
436 ">
437 <caption class="title">{caption={table-caption} {counter:table-number}. }{title}</caption>
438 {colspecs}
439 {headrows#}<thead>
440 {headrows}
441 {headrows#}</thead>
442 {footrows#}<tfoot>
443 {footrows}
444 {footrows#}</tfoot>
445 <tbody>
446 {bodyrows}
447 </tbody>
448 </table>
449
450 #--------------------------------------------------------------------
451 # Deprecated old table definitions.
452 #
453
454 [miscellaneous]
455 # Screen width in pixels.
456 pagewidth=800
457 pageunits=px
458
459 [old_tabledef-default]
460 template=old_table
461 colspec=<col style="width:{colwidth}{pageunits};" />
462 bodyrow=<tr>|</tr>
463 headdata=<th class="tableblock halign-{colalign=left}">|</th>
464 footdata=<td class="tableblock halign-{colalign=left}">|</td>
465 bodydata=<td class="tableblock halign-{colalign=left}">|</td>
466
467 [old_table]
468 <table class="tableblock frame-{frame=all} grid-{grid=all}"{id? id="{id}"}>
469 <caption class="title">{caption={table-caption}}{title}</caption>
470 {colspecs}
471 {headrows#}<thead>
472 {headrows}
473 {headrows#}</thead>
474 {footrows#}<tfoot>
475 {footrows}
476 {footrows#}</tfoot>
477 <tbody style="vertical-align:top;">
478 {bodyrows}
479 </tbody>
480 </table>
481
482 # End of deprecated old table definitions.
483 #--------------------------------------------------------------------
484
485 [floatingtitle]
486 <h{level@0:1}{level@1:2}{level@2:3}{level@3:4}{level@4:5}{id? id="{id}"} class="float">{title}</h{level@0:1}{level@1:2}{level@2:3}{level@3:4}{level@4:5}>
487
488 [preamble]
489 # Untitled elements between header and first section title.
490 <div id="preamble">
491 <div class="sectionbody">
492 |
493 </div>
494 </div>
495
496 # Document sections.
497 [sect0]
498 <h1{id? id="{id}"}>{title}</h1>
499 |
500
501 [sect1]
502 <div class="sect1{style? {style}}{role? {role}}">
503 <h2{id? id="{id}"}>{numbered?{sectnum} }{title}</h2>
504 <div class="sectionbody">
505 |
506 </div>
507 </div>
508
509 [sect2]
510 <div class="sect2{style? {style}}{role? {role}}">
511 <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3>
512 |
513 </div>
514
515 [sect3]
516 <div class="sect3{style? {style}}{role? {role}}">
517 <h4{id? id="{id}"}>{numbered?{sectnum} }{title}</h4>
518 |
519 </div>
520
521 [sect4]
522 <div class="sect4{style? {style}}{role? {role}}">
523 <h5{id? id="{id}"}>{title}</h5>
524 |
525 </div>
526
527 [appendix]
528 <div class="sect1{style? {style}}{role? {role}}">
529 <h2{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2>
530 <div class="sectionbody">
531 |
532 </div>
533 </div>
534
535 [toc]
536 <div id="toc" class="toc">
537 </div>
538
539 [header]
540 <!-- asciidoc HEADER -->
541 <script type="text/javascript">
542 include1::mediawiki-asciidoc.js[]
543 </script>
544 template::[toc]
545 <div id="asciidoccontent">
546 <style type="text/css" scoped>
547 td.hdlist1 {
548    vertical-align: top;
549 }
550 td.hdlist2 {
551   vertical-align: top;
552 }
553 </style>
554
555 [footer]
556 <!-- FOOTER -->
557 </div>
558 <div id="footnotes"></div>
559
560 [footer-date]
561 # Default footer date is document modification time
562 ifeval::["{footer-style=default}"!="revdate"]
563  {docdate} {doctime}
564 endif::[]
565 # If set to "revdate", it'll be set to the revision date
566 ifeval::["{footer-style=default}"=="revdate"]
567  {revdate}
568 endif::[]
569
570 ifdef::doctype-manpage[]
571 [synopsis]
572 template::[sect1]
573 endif::doctype-manpage[]
574