Skip to content

Commit ea41174

Browse files
nalladscho
authored andcommitted
asciidoctor: fix user-manual to be built by asciidoctor
The `user-manual.txt` is designed as a `book` but the `Makefile` wants to build it as an `article`. This seems to be a problem when building the documentation with `asciidoctor`. Furthermore the parts *Git Glossary* and *Appendix B* had no subsections which is not allowed when building with `asciidoctor`. So lets add a *dummy* section. Signed-off-by: nalla <[email protected]>
1 parent 4638a92 commit ea41174

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Documentation/Makefile

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

338338
user-manual.xml: user-manual.txt user-manual.conf
339339
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
340-
$(TXT_TO_XML) -d article -o $@+ $< && \
340+
$(TXT_TO_XML) -d book -o $@+ $< && \
341341
mv $@+ $@
342342

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

Documentation/user-manual.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4395,6 +4395,10 @@ itself!
43954395
Git Glossary
43964396
============
43974397

4398+
[[git-explained]]
4399+
Git explained
4400+
-------------
4401+
43984402
include::glossary-content.txt[]
43994403

44004404
[[git-quick-start]]
@@ -4636,6 +4640,10 @@ $ git gc
46364640
Appendix B: Notes and todo list for this manual
46374641
===============================================
46384642

4643+
[[todo-list]]
4644+
Todo list
4645+
---------
4646+
46394647
This is a work in progress.
46404648

46414649
The basic requirements:

0 commit comments

Comments
 (0)