Author: ltheussl Date: Fri May 8 08:34:55 2009 New Revision: 772886 URL: http://svn.apache.org/viewvc?rev=772886&view=rev Log: Revert r772604, docs were correct.
Modified: maven/doxia/site/src/site/apt/macros/index.apt Modified: maven/doxia/site/src/site/apt/macros/index.apt URL: http://svn.apache.org/viewvc/maven/doxia/site/src/site/apt/macros/index.apt?rev=772886&r1=772885&r2=772886&view=diff ============================================================================== --- maven/doxia/site/src/site/apt/macros/index.apt (original) +++ maven/doxia/site/src/site/apt/macros/index.apt Fri May 8 08:34:55 2009 @@ -158,11 +158,11 @@ subsections in your document. For instance, in an APT file, you could write: ----- -%{toc|section=2|fromDepth=1|toDepth=2} +%{toc|section=2|fromDepth=2|toDepth=3} ----- This displays a TOC for the second section in the document, including all - subsections (depth 1) and sub-subsections (depth 2). + subsections (depth 2) and sub-subsections (depth 3). <<Note>> that in Doxia, apt section titles are not implicit anchors (see {{{../references/doxia-apt.html}Enhancements to the APT format}}), so you need @@ -183,7 +183,7 @@ *-----------+--------------+ | section | Display a TOC for the specified section only, or all sections if 0 (in this case, other parameters are ignored). Positive int, not mandatory, 0 by default. *-----------+--------------+ -| fromDepth | Minimum section depth to include in the TOC (sections are depth 0, sub-sections depth 1, etc.). Positive int, not mandatory, 0 by default. +| fromDepth | Minimum section depth to include in the TOC (sections are depth 1, sub-sections depth 2, etc.). Positive int, not mandatory, 0 by default. *-----------+--------------+ | toDepth | Maximum section depth to include in the TOC. Positive int, not mandatory, 5 by default. *-----------+--------------+