Documentation: use 8-space tabs with Asciidoctor
Asciidoctor expands tabs at the beginning of a line. However, it does not expand them into 8 spaces by default. Since we use 8-space tabs, tell Asciidoctor that we want 8 spaces by setting the tabsize attribute. This ensures that our ASCII art renders properly. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
brian m. carlson committed
May 6, 2018 at 20:42 UTC
743e63f3ed22b206e9d9ba92f24e2b8503dec3ba
1 file changed
+1
-1
Documentation/Makefile
+1
-1
@@ -184,7 +184,7 @@ ASCIIDOC = asciidoctor
184
ASCIIDOC_CONF =
185
ASCIIDOC_HTML = xhtml5
186
ASCIIDOC_DOCBOOK = docbook45
187
-ASCIIDOC_EXTRA += -acompat-mode
187
+ASCIIDOC_EXTRA += -acompat-mode -atabsize=8
188
ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
189
ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
190
DBLATEX_COMMON =