Documentation: enable compat-mode for Asciidoctor
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 29 Oct 2017 21:13:07 +0000 (21:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Oct 2017 03:44:00 +0000 (12:44 +0900)
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>
Documentation/Makefile
index 471bb29725cdc47b4e56bc85e2af635f7b836776..d5ad85459e6c3adc250963e4411581564e3717fe 100644 (file)
@@ -181,6 +181,7 @@ ASCIIDOC = asciidoctor
 ASCIIDOC_CONF =
 ASCIIDOC_HTML = xhtml5
 ASCIIDOC_DOCBOOK = docbook45
+ASCIIDOC_EXTRA += -acompat-mode
 ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
 ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
 DBLATEX_COMMON =