Skip to content

Commit 145e073

Browse files
tacker66gitster
authored andcommitted
user-manual: improve html and pdf formatting
Use asciidoc style 'article' instead of 'book' and change asciidoc title level. This removes blank first page and superfluous "Part I" page (there is no "Part II") in pdf output. Also pdf size is decreased by this from 77 to 67 pages. In html output this removes unnecessary sub-tocs and chapter numbering. Signed-off-by: Thomas Ackermann <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b9cf14d commit 145e073

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ manpage-base-url.xsl: manpage-base-url.xsl.in
324324

325325
user-manual.xml: user-manual.txt user-manual.conf
326326
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
327-
$(ASCIIDOC) $(ASCIIDOC_EXTRA) -b docbook -d book -o $@+ $< && \
327+
$(ASCIIDOC) $(ASCIIDOC_EXTRA) -b docbook -d article -o $@+ $< && \
328328
mv $@+ $@
329329

330330
technical/api-index.txt: technical/api-index-skel.txt \

Documentation/user-manual.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Git User Manual
2-
_______________
2+
===============
33

44
Git is a fast distributed revision control system.
55

0 commit comments

Comments
 (0)