From b1cb4eb6fa8d90cb9fb631d7f0153901724aecf9 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 1 Sep 2015 10:58:42 -0400 Subject: [PATCH] doc/man: add XSL files for man pages MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Those XSL files, some of them inspired by Git documentation's own XSL files, manipulate the intermediate DocBook XML file to fine-tune the man pages rendering. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- doc/man/xsl/manpage-base.xsl | 17 +++++++++++++++++ doc/man/xsl/manpage-bold-literal.xsl | 7 +++++++ doc/man/xsl/manpage-ulinks.xsl | 5 +++++ doc/man/xsl/manpage.xsl | 8 ++++++++ 4 files changed, 37 insertions(+) create mode 100644 doc/man/xsl/manpage-base.xsl create mode 100644 doc/man/xsl/manpage-bold-literal.xsl create mode 100644 doc/man/xsl/manpage-ulinks.xsl create mode 100644 doc/man/xsl/manpage.xsl diff --git a/doc/man/xsl/manpage-base.xsl b/doc/man/xsl/manpage-base.xsl new file mode 100644 index 000000000..2f7a5d7f3 --- /dev/null +++ b/doc/man/xsl/manpage-base.xsl @@ -0,0 +1,17 @@ + + + + + + + sp + + + + + + + + br + + diff --git a/doc/man/xsl/manpage-bold-literal.xsl b/doc/man/xsl/manpage-bold-literal.xsl new file mode 100644 index 000000000..c0e0900aa --- /dev/null +++ b/doc/man/xsl/manpage-bold-literal.xsl @@ -0,0 +1,7 @@ + + + \fB + + \fR + + diff --git a/doc/man/xsl/manpage-ulinks.xsl b/doc/man/xsl/manpage-ulinks.xsl new file mode 100644 index 000000000..5e4b79463 --- /dev/null +++ b/doc/man/xsl/manpage-ulinks.xsl @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/man/xsl/manpage.xsl b/doc/man/xsl/manpage.xsl new file mode 100644 index 000000000..50db18966 --- /dev/null +++ b/doc/man/xsl/manpage.xsl @@ -0,0 +1,8 @@ + + + + + + + 0 + -- 2.34.1