From: brian m. carlson Date: Sun, 6 May 2018 20:42:25 +0000 (+0000) Subject: Documentation: use 8-space tabs with Asciidoctor X-Git-Tag: v2.18.0-rc0~37^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/743e63f3ed22b206e9d9ba92f24e2b8503dec3ba?hp=468165c1d8a442994a825f3684528361727cd8c0 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/Makefile b/Documentation/Makefile index 6232143cb9..bcd216d96c 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -184,7 +184,7 @@ ASCIIDOC = asciidoctor ASCIIDOC_CONF = ASCIIDOC_HTML = xhtml5 ASCIIDOC_DOCBOOK = docbook45 -ASCIIDOC_EXTRA += -acompat-mode +ASCIIDOC_EXTRA += -acompat-mode -atabsize=8 ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;' DBLATEX_COMMON =