You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2011/02/12 14:21:43 UTC
svn commit: r1070079 -
/maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/multimodule.apt
Author: ltheussl
Date: Sat Feb 12 13:21:43 2011
New Revision: 1070079
URL: http://svn.apache.org/viewvc?rev=1070079&view=rev
Log:
[MSITE-553] Incomplete documentation site descriptor inheritance
Modified:
maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/multimodule.apt
Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/multimodule.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/multimodule.apt?rev=1070079&r1=1070078&r2=1070079&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/multimodule.apt (original)
+++ maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/multimodule.apt Sat Feb 12 13:21:43 2011
@@ -72,9 +72,11 @@ Building multi-module sites
In Maven 2 the site descriptor is attached automatically for projects with
packaging set to "pom".
- By default, only the basic settings are inherited. From the body, <<only>>
- the links and breadcrumbs are inherited, and these accumulate to contain all the parents'
+ By default, all the parent descriptor settings are inherited with the only exception of menus, see below.
+ From the body, the links and breadcrumbs accumulate to contain all the parent's
site descriptor links and breadcrumbs.
+ If the parent contains some breadcrumb and the inheriting site descriptor doesn't,
+ a breadcrumb with the current site descriptor's name will be added automatically.
However, it is possible to inherit menus as well. To do so, use the <<<inherit>>> attribute in the site descriptor. This can
be either <<<top>>> or <<<bottom>>>, indicating where the inherited menu will be placed. For example: