Skip to content

Commit 743e63f

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ ASCIIDOC = asciidoctor
184184
ASCIIDOC_CONF =
185185
ASCIIDOC_HTML = xhtml5
186186
ASCIIDOC_DOCBOOK = docbook45
187-
ASCIIDOC_EXTRA += -acompat-mode
187+
ASCIIDOC_EXTRA += -acompat-mode -atabsize=8
188188
ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
189189
ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
190190
DBLATEX_COMMON =

0 commit comments

Comments
 (0)