Skip to content

Commit b072e0a

Browse files
bk2204gitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent af103b3 commit b072e0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ ASCIIDOC = asciidoctor
181181
ASCIIDOC_CONF =
182182
ASCIIDOC_HTML = xhtml5
183183
ASCIIDOC_DOCBOOK = docbook45
184+
ASCIIDOC_EXTRA += -acompat-mode
184185
ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
185186
ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
186187
DBLATEX_COMMON =

0 commit comments

Comments
 (0)