Skip to content

Commit 5945717

Browse files
aironefrgitster
authored andcommitted
Documentation: bold literals in man
Backticks are emphasized through monospaced styling in the HTML version of Git documentation. But they were left unstyled in the manual pages. To make the man pages more comfortably read, `MAN_BOLD_LITERAL` was added by 5121a6d (Documentation: option to render literal text as bold for manpages, 2009-03-27). It allowed the user to build the manpages with literals in bold style. For precaution it was not set by default back then. Since 79c461d (docs: default to more modern toolset, 2010-11-19), it is assumed ASCIIDOC 8 and at least docbook-xsl 1.73 are used, so the need for compatibility concern is much lessor now. Remove `MAN_BOLD_LITERAL`, and typeset literals as bold by default . Add `NO_MAN_BOLD_LITERAL`, a new Makefile option, disabling this feature when defined. Signed-off-by: Erwan MATHONIERE <[email protected]> Signed-off-by: Samuel GROOT <[email protected]> Signed-off-by: Tom RUSSELLO <[email protected]> Signed-off-by: Matthieu MOY <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f3913c2 commit 5945717

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
@@ -146,7 +146,7 @@ else
146146
ASCIIDOC_EXTRA += -a git-asciidoc-no-roff
147147
endif
148148
endif
149-
ifdef MAN_BOLD_LITERAL
149+
ifndef NO_MAN_BOLD_LITERAL
150150
XMLTO_EXTRA += -m manpage-bold-literal.xsl
151151
endif
152152
ifdef DOCBOOK_SUPPRESS_SP

0 commit comments

Comments
 (0)