summaryrefslogtreecommitdiff
path: root/doc/asciidoc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/asciidoc.conf')
-rw-r--r--doc/asciidoc.conf14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf
index 98308f53..f92a3eab 100644
--- a/doc/asciidoc.conf
+++ b/doc/asciidoc.conf
@@ -1,10 +1,7 @@
-#
+## linkman: macro
# Inspired by/borrowed from the GIT source tree at Documentation/asciidoc.conf
#
-
-## manlink: macro
-#
-# Usage: manlink:command[manpage-section]
+# Usage: linkman:command[manpage-section]
#
# Note, {0} is the manpage section, while {target} is the command.
#
@@ -19,7 +16,7 @@ endsb=]
tilde=~
ifdef::backend-docbook[]
-[manlink-inlinemacro]
+[linkman-inlinemacro]
{0%{target}}
{0#<citerefentry>}
{0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
@@ -27,7 +24,9 @@ ifdef::backend-docbook[]
endif::backend-docbook[]
ifdef::backend-docbook[]
+ifndef::docbook-xsl-172[]
# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
+# v1.72 breaks with this because it replaces dots not in roff requests.
[listingblock]
<example><title>{title}</title>
<literallayout>
@@ -40,6 +39,7 @@ ifdef::doctype-manpage[]
endif::doctype-manpage[]
</literallayout>
{title#}</example>
+endif::docbook-xsl-172[]
endif::backend-docbook[]
ifdef::doctype-manpage[]
@@ -65,6 +65,6 @@ endif::backend-docbook[]
endif::doctype-manpage[]
ifdef::backend-xhtml11[]
-[manlink-inlinemacro]
+[linkman-inlinemacro]
<a href="{target}.{0}.html">{target}{0?({0})}</a>
endif::backend-xhtml11[]