summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-10-06 03:25:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-10-06 03:25:16 (GMT)
commitfaf5576a8d749c7c46fafd0c62da47ec078e1486 (patch)
tree75bd7cb59dd5b83229c2bd2ca5586534086bb0e2 /Documentation
parent314fcd32d79c2c9ccf471f5a84f1407393d1a1fc (diff)
parentf6461b82b932013f170acf357c4dd3468c923f73 (diff)
downloadgit-faf5576a8d749c7c46fafd0c62da47ec078e1486.zip
git-faf5576a8d749c7c46fafd0c62da47ec078e1486.tar.gz
git-faf5576a8d749c7c46fafd0c62da47ec078e1486.tar.bz2
Merge branch 'bc/doc-use-docbook-5'
Start using DocBook 5 (instead of DocBook 4.5) as Asciidoctor 2.0 no longer works with the older one. * bc/doc-use-docbook-5: Documentation: fix build with Asciidoctor 2
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/Makefile4
-rw-r--r--Documentation/manpage.xsl3
2 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index e7015c3..06d85ad 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -198,11 +198,13 @@ ifdef USE_ASCIIDOCTOR
ASCIIDOC = asciidoctor
ASCIIDOC_CONF =
ASCIIDOC_HTML = xhtml5
-ASCIIDOC_DOCBOOK = docbook45
+ASCIIDOC_DOCBOOK = docbook5
ASCIIDOC_EXTRA += -acompat-mode -atabsize=8
ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
DBLATEX_COMMON =
+XMLTO_EXTRA += --skip-validation
+XMLTO_EXTRA += -x manpage.xsl
endif
SHELL_PATH ?= $(SHELL)
diff --git a/Documentation/manpage.xsl b/Documentation/manpage.xsl
new file mode 100644
index 0000000..ef64bab
--- /dev/null
+++ b/Documentation/manpage.xsl
@@ -0,0 +1,3 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl" />
+</xsl:stylesheet>