path: root/docs/conf
diff options
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-10-03 19:01:56 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-12 07:46:28 +0200
commitd79042bd0b898ec91f37b77f08c5e65d07d69a4b (patch)
treedf7a41710ac40ddb4b0fa0edc84c982ca94f92cb /docs/conf
parent3c40c9ee5755a260acc4454dbe540e9ff26b7181 (diff)
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>
Diffstat (limited to 'docs/conf')
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/conf/asciidoc-text.conf b/docs/conf/asciidoc-text.conf
new file mode 100644
index 0000000000..470bdecfc2
--- /dev/null
+++ b/docs/conf/asciidoc-text.conf
@@ -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'
+{0=}{0? &#91;}{name}:{target}{0?&#93;}
+{0=}{0? &#91;}{name}:{target}{0?&#93;}
+{0=}{0? &#91;}{name}:{target}{0?&#93;}
+{0=}{0? &#91;}{name}:{target}{0?&#93;}
+{0=}{0? &#91;}{name}:{target}{0?&#93;}
+{0=}{0? &#91;}{name}:{target}{0?&#93;}
+# Hide image representation from text manual