summaryrefslogtreecommitdiffstats
path: root/secret-service
diff options
context:
space:
mode:
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>