From 385286adf68e91f19363ecd56e75c9d86b64fc92 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Fri, 16 Sep 2011 15:11:11 +0000
Subject: [PATCH] Updated toc generation

---
 opendj3/src/main/docbkx-stylesheets/html/chunked.xsl |    5 +++--
 opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl |    3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/opendj3/src/main/docbkx-stylesheets/html/chunked.xsl b/opendj3/src/main/docbkx-stylesheets/html/chunked.xsl
index cf06b7d..07cfeb1 100644
--- a/opendj3/src/main/docbkx-stylesheets/html/chunked.xsl
+++ b/opendj3/src/main/docbkx-stylesheets/html/chunked.xsl
@@ -39,7 +39,7 @@
   article/appendix  nop
   article   nop
   book      toc,title
-  chapter   nop
+  chapter   toc,title
   part      toc,title
   preface   nop
   qandadiv  nop
@@ -53,6 +53,7 @@
   section   nop
   set       toc,title
  </xsl:param>
- <xsl:param name="toc.section.depth" select="0" />
+ <xsl:param name="toc.section.depth" select="1" />
+ <xsl:param name="toc.max.depth" select="1" />
  <xsl:param name="generate.meta.abstract" select="1" />
 </xsl:stylesheet>
diff --git a/opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl b/opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl
index 688d2f5..1dddbd0 100644
--- a/opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl
+++ b/opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl
@@ -50,6 +50,7 @@
   section   nop
   set       toc,title
  </xsl:param>
- <xsl:param name="toc.section.depth" select="0" />
+ <xsl:param name="toc.section.depth" select="1" />
+ <xsl:param name="toc.max.depth" select="1" />
  <xsl:param name="generate.meta.abstract" select="1" />
 </xsl:stylesheet>

--
Gitblit v1.10.0