asciidoc.conf 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [attributes]
  2. max-width=58em
  3. source-highlighter=highlight
  4. x15-operating-system=https://www.sceen.net/x15/[The X15 operating system]
  5. against-priority-inheritance=https://fsmlabs.com/pdfs/Priority_Inheritance.pdf[Against Priority Inheritance]
  6. the-art-of-unix-programming=http://www.catb.org/esr/writings/taoup/html/[The Art of Unix Programming]
  7. the-kconfig-language=https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
  8. [macros]
  9. (?su)(?P<name>module_mutex):(?P<impl>\w+)=
  10. (?su)(?P<name>module):(?P<component>\w+)/(?P<module>\w+)=
  11. (?su)(?P<name>manpage):(?P<page>\w+)=
  12. (?su)(?P<name>cheader):(?P<header>\w+)=
  13. (?su)(?P<name>cfunction):(?P<function>\w+)=
  14. (?su)(?P<name>cmacro):(?P<macro>\w+)=
  15. (?su)(?P<name>shell):{(?P<command>[^}]+)}=
  16. [module_mutex-inlinemacro]
  17. ifdef::basebackend-html[]
  18. <a href="https://git.sceen.net/rbraun/x15.git/tree/kern/mutex/mutex_{impl}_i.h"><b>mutex_{impl}</b></a>
  19. endif::basebackend-html[]
  20. ifdef::basebackend-docbook[]
  21. <ulink url="https://git.sceen.net/rbraun/x15.git/tree/kern/mutex/mutex_{impl}_i.h"><emphasis role="bold">mutex_{impl}</emphasis></ulink>
  22. endif::basebackend-docbook[]
  23. [module-inlinemacro]
  24. ifdef::basebackend-html[]
  25. <a href="https://git.sceen.net/rbraun/x15.git/tree/{component@arch:arch/x86/machine:{component}}/{module}.h"><b>{module}</b></a>
  26. endif::basebackend-html[]
  27. ifdef::basebackend-docbook[]
  28. <ulink url="https://git.sceen.net/rbraun/x15.git/tree/{component@arch:arch/x86/machine:{component}}/{module}.h"><emphasis role="bold">{module}</emphasis></ulink>
  29. endif::basebackend-docbook[]
  30. [manpage-inlinemacro]
  31. ifdef::basebackend-html[]
  32. <a href="{page}.9.html"><b>{page}</b>(9)</a>
  33. endif::basebackend-html[]
  34. ifdef::basebackend-docbook[]
  35. <ulink url="{page}.9.html"><emphasis role="bold">{page}</emphasis>(9)</ulink>
  36. endif::basebackend-docbook[]
  37. [cheader-inlinemacro]
  38. ifdef::basebackend-html[]
  39. &lt;{header}.h&gt;
  40. endif::basebackend-html[]
  41. ifdef::basebackend-docbook[]
  42. &lt;{header}.h>
  43. endif::basebackend-docbook[]
  44. [cfunction-inlinemacro]
  45. ifdef::basebackend-html[]
  46. <i>{function}()</i>
  47. endif::basebackend-html[]
  48. ifdef::basebackend-docbook[]
  49. <emphasis role="italic">{function}()</emphasis>
  50. endif::basebackend-docbook[]
  51. [cmacro-inlinemacro]
  52. ifdef::basebackend-html[]
  53. <i>{macro}</i>
  54. endif::basebackend-html[]
  55. ifdef::basebackend-docbook[]
  56. <emphasis role="italic">{macro}</emphasis>
  57. endif::basebackend-docbook[]
  58. [shell-inlinemacro]
  59. ifdef::basebackend-html[]
  60. <i>{command}</i>
  61. endif::basebackend-html[]
  62. ifdef::basebackend-docbook[]
  63. <emphasis role="italic">{command}</emphasis>
  64. endif::basebackend-docbook[]