summaryrefslogtreecommitdiffstats
path: root/secret-service
diff options
context:
space:
mode:
authorMichael Leupold <lemma@leunet.de>2010-02-07 11:35:07 +0100
committerStef Walter <stefw@collabora.co.uk>2010-12-04 16:11:42 +0000
commit33d5f4c05d1f52d1c212633818bdd1038ea5b467 (patch)
tree94f4fde5d74daa51d207f30ce806ed9f872dcea6 /secret-service
parent3966b1da9e55e941de2ff3f31df336d3490345b0 (diff)
downloadxdg-specs-33d5f4c05d1f52d1c212633818bdd1038ea5b467.tar.xz
Properly added parameters for xhtml generation.
Diffstat (limited to 'secret-service')
-rw-r--r--secret-service/Makefile4
-rw-r--r--secret-service/docbook-params.xsl (renamed from secret-service/params-html.xsl)4
2 files changed, 5 insertions, 3 deletions
diff --git a/secret-service/Makefile b/secret-service/Makefile
index b5c4ab5..27084aa 100644
--- a/secret-service/Makefile
+++ b/secret-service/Makefile
@@ -3,8 +3,8 @@ SPEC = org.freedesktop.Secrets.xml
all: html/index.html
-html/index.html: reference.xml params-html.xsl specification.xml
- xmlto --skip-validation -o html -p params-html.xsl xhtml specification.xml
+html/index.html: reference.xml docbook-params.xsl specification.xml
+ xmlto --skip-validation -o html/ -x docbook-params.xsl xhtml specification.xml
reference.xml: tools/spec-to-docbook.xsl $(SPEC)
xsltproc tools/spec-to-docbook.xsl $(SPEC) > $@
diff --git a/secret-service/params-html.xsl b/secret-service/docbook-params.xsl
index bca2223..5d8591a 100644
--- a/secret-service/params-html.xsl
+++ b/secret-service/docbook-params.xsl
@@ -21,12 +21,14 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+
<xsl:param name="toc.max.depth">3</xsl:param>
<xsl:param name="generate.section.toc.level">0</xsl:param>
<xsl:param name="generate.toc">
book toc
part nop
- chapter nop
+ chapter toc
</xsl:param>
<xsl:param name="html.stylesheet">style.css</xsl:param>
<xsl:param name="funcsynopsis.style">ansi</xsl:param>