Documentation: enable compat-mode for Asciidoctor
Asciidoctor 1.5.0 and later have a compatibility mode that makes it more compatible with some Asciidoc syntax, notably the single and double quote handling. While this doesn't affect any of our current documentation, it would be beneficial to enable this mode to reduce the differences between AsciiDoc and Asciidoctor if we make use of those features in the future. Since this mode is specified as an attribute, if a version of Asciidoctor doesn't understand it, it will simply be ignored. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
brian m. carlson committed
Oct 29, 2017 at 21:13 UTC
b072e0a3f8b4fdd9cf81948c49a6795057336629
1 file changed
+1
Documentation/Makefile
+1
@@ -181,6 +181,7 @@ ASCIIDOC = asciidoctor
181
ASCIIDOC_CONF =
182
ASCIIDOC_HTML = xhtml5
183
ASCIIDOC_DOCBOOK = docbook45
184
+ASCIIDOC_EXTRA += -acompat-mode
185
ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
186
ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
187
DBLATEX_COMMON =