summaryrefslogtreecommitdiff
path: root/doc/asciidoc.conf
blob: 4297fa2fbf7eea2050a953ec6f4ef7ec6614a5b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[attributes]
max-width=58em
source-highlighter=highlight
x15-operating-system=https://www.sceen.net/x15/[The X15 operating system]
against-priority-inheritance=https://fsmlabs.com/pdfs/Priority_Inheritance.pdf[Against Priority Inheritance]
the-art-of-unix-programming=http://www.catb.org/esr/writings/taoup/html/[The Art of Unix Programming]
the-kconfig-language=https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt

[macros]
(?su)(?P<name>module_mutex):(?P<impl>\w+)=
(?su)(?P<name>module):(?P<component>\w+)/(?P<module>\w+)=
(?su)(?P<name>manpage):(?P<page>\w+)=
(?su)(?P<name>cheader):(?P<header>\w+)=
(?su)(?P<name>cfunction):(?P<function>\w+)=
(?su)(?P<name>cmacro):(?P<macro>\w+)=
(?su)(?P<name>shell):{(?P<command>[^}]+)}=

[module_mutex-inlinemacro]
ifdef::basebackend-html[]
<a href="https://git.sceen.net/rbraun/x15.git/tree/kern/mutex/mutex_{impl}_i.h"><b>mutex_{impl}</b></a>
endif::basebackend-html[]
ifdef::basebackend-docbook[]
<ulink url="https://git.sceen.net/rbraun/x15.git/tree/kern/mutex/mutex_{impl}_i.h"><emphasis role="bold">mutex_{impl}</emphasis></ulink>
endif::basebackend-docbook[]

[module-inlinemacro]
ifdef::basebackend-html[]
<a href="https://git.sceen.net/rbraun/x15.git/tree/{component@arch:arch/x86/machine:{component}}/{module}.h"><b>{module}</b></a>
endif::basebackend-html[]
ifdef::basebackend-docbook[]
<ulink url="https://git.sceen.net/rbraun/x15.git/tree/{component@arch:arch/x86/machine:{component}}/{module}.h"><emphasis role="bold">{module}</emphasis></ulink>
endif::basebackend-docbook[]

[manpage-inlinemacro]
ifdef::basebackend-html[]
<a href="{page}.9.html"><b>{page}</b>(9)</a>
endif::basebackend-html[]
ifdef::basebackend-docbook[]
<ulink url="{page}.9.html"><emphasis role="bold">{page}</emphasis>(9)</ulink>
endif::basebackend-docbook[]

[cheader-inlinemacro]
ifdef::basebackend-html[]
&lt;{header}.h&gt;
endif::basebackend-html[]
ifdef::basebackend-docbook[]
&lt;{header}.h>
endif::basebackend-docbook[]

[cfunction-inlinemacro]
ifdef::basebackend-html[]
<i>{function}()</i>
endif::basebackend-html[]
ifdef::basebackend-docbook[]
<emphasis role="italic">{function}()</emphasis>
endif::basebackend-docbook[]

[cmacro-inlinemacro]
ifdef::basebackend-html[]
<i>{macro}</i>
endif::basebackend-html[]
ifdef::basebackend-docbook[]
<emphasis role="italic">{macro}</emphasis>
endif::basebackend-docbook[]

[shell-inlinemacro]
ifdef::basebackend-html[]
<i>{command}</i>
endif::basebackend-html[]
ifdef::basebackend-docbook[]
<emphasis role="italic">{command}</emphasis>
endif::basebackend-docbook[]