Author: ltheussl Date: Tue Sep 27 07:47:50 2011 New Revision: 1176251 URL: http://svn.apache.org/viewvc?rev=1176251&view=rev Log: add TOCs
Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creating-content.apt.vm maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/sitedescriptor.apt maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creating-content.apt.vm URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creating-content.apt.vm?rev=1176251&r1=1176250&r2=1176251&view=diff ============================================================================== --- maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creating-content.apt.vm (original) +++ maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creating-content.apt.vm Tue Sep 27 07:47:50 2011 @@ -32,6 +32,10 @@ Creating Content Now it's time to create some content for your site. In Maven 2, the site content is structured by format, as there are several formats supported. +%{toc|section=1|fromDepth=2|toDepth=3} + +* Documentation formats + Here's an example of a directory structure for a site: ------------------- Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/sitedescriptor.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/sitedescriptor.apt?rev=1176251&r1=1176250&r2=1176251&view=diff ============================================================================== --- maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/sitedescriptor.apt (original) +++ maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/sitedescriptor.apt Tue Sep 27 07:47:50 2011 @@ -51,6 +51,8 @@ Configuring the Site Descriptor {{{http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-site-plugin/src/site/site.xml}site descriptor for Maven Site Plugin}} for a real life example. +%{toc|section=1|fromDepth=2|toDepth=3} + * Title The title of each generated page will be a combination of the <site title> Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt?rev=1176251&r1=1176250&r2=1176251&view=diff ============================================================================== --- maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt (original) +++ maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt Tue Sep 27 07:47:50 2011 @@ -39,6 +39,8 @@ Usage let Maven generate some {{{./examples/configuring-reports.html}reports}} for you, based on the contents of your POM. +%{toc|section=1|fromDepth=2|toDepth=3} + * Generating a Site To generate the project's site and reports, execute: