mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
doc/asciidoc: always apply Buildroot's AsciiDoc config
As suggested by Thomas: the AsciiDoc options we use ensure we get a sane output of the document. We want that configuration to be applied to other documents as well. Up until now, it was implicit that the configuration was applied to our manual, becasue we only supported document-specific configuration, and the configuration we had was in our manual dir, so we got to use it. But now, we can render other documents, especially ones from br2-external, and we want those to also use the default configuration from Buildroot, but still be able to provide their own customisation. So, always add Buildroot's configuration first, if available, before we append the document's configuration. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
3c40c9ee57
commit
d79042bd0b
23
docs/conf/asciidoc-text.conf
Normal file
23
docs/conf/asciidoc-text.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
# Refer to following asciidoc documentation:
|
||||
# http://www.methods.co.nz/asciidoc/userguide.html
|
||||
# In particular sections "Macros" and "Attribute References"
|
||||
#
|
||||
# For hyperlinks, show 'link text [URL]' (if link text provided) or 'URL'
|
||||
[http-inlinemacro]
|
||||
{0=}{0? [}{name}:{target}{0?]}
|
||||
[https-inlinemacro]
|
||||
{0=}{0? [}{name}:{target}{0?]}
|
||||
[ftp-inlinemacro]
|
||||
{0=}{0? [}{name}:{target}{0?]}
|
||||
[file-inlinemacro]
|
||||
{0=}{0? [}{name}:{target}{0?]}
|
||||
[irc-inlinemacro]
|
||||
{0=}{0? [}{name}:{target}{0?]}
|
||||
[mailto-inlinemacro]
|
||||
{0=}{0? [}{name}:{target}{0?]}
|
||||
|
||||
# Hide image representation from text manual
|
||||
[image-inlinemacro]
|
||||
{empty}
|
||||
[image-blockmacro]
|
||||
{empty}
|
||||
Reference in New Issue
Block a user