You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Fabian Müller <fa...@open-tk.de> on 2005/09/17 17:23:16 UTC

table of contents

Hello,

when I have

<toc max-depth="2" min-sections="1" location="page"/>

in my src/documentation/skinconf.xml I see a table of contents on
the top of each page. This is ok. But then I change this line to

<toc max-depth="0" min-sections="1" location="page"/>

the toc does not disappear. This is probably not ok because the
documentation on

http://forrest.apache.org/docs_0_70/linking.html#toc-generation

says "level - is the depth to which you want your table of contents to
go. Setting it to "3" will therefore include sections nested to 3
levels. Setting this to "0" will result in no table of contents being
generated." I am confused because there is no "level" attribute but
there is a max-depth attribute in my skinconf.xml

I am only able to remove the table of contents when I comment out the
line like this:

<!-- <toc max-depth="0" min-sections="1" location="page"/> -->

I use the skin "forrest-site" and forrest version 0.7. I am not sure
if this is a bug (or a mistake in the documentation or my fault) but I
thought that it cannot be bad to report this.

Fabian Müller


Re: table of contents

Posted by Fabian Müller <fa...@open-tk.de>.
fabian_mueller@open-tk.de (Fabian Müller) writes:

> I use the skin "forrest-site" and forrest version 0.7. I am not sure
> if this is a bug (or a mistake in the documentation or my fault) but I
> thought that it cannot be bad to report this.

I just got to know that the "forrest-site" skin is deprecated. So I
changed back to the default "pelt" skin but the "problem" (which is
not really a problem) persits.

Fabian Müller