From 1013578819febe90460a3d3d2178cda7bbf4134b Mon Sep 17 00:00:00 2001 From: aheritier Date: Wed, 8 Mar 2006 01:01:04 +0000 Subject: [PATCH] Display the breadcrumbs hierarchy in the title of the page git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@384074 13f79535-47bb-0310-9956-ffa450edef68 --- xdoc/src/plugin-resources/site.jsl | 32 ++++++++++++------------------ xdoc/xdocs/changes.xml | 2 +- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/xdoc/src/plugin-resources/site.jsl b/xdoc/src/plugin-resources/site.jsl index 3adee366..965fc5dd 100644 --- a/xdoc/src/plugin-resources/site.jsl +++ b/xdoc/src/plugin-resources/site.jsl @@ -38,7 +38,10 @@ - + + + + @@ -113,19 +116,15 @@ - - - - - ${_navTitle}${titleSeparator}${_docTitle} - - - - - ${pom.name}${titleSeparator}${_docTitle} - - + + + <j:if test="${!empty( breadcrumbsUsed )}"> + <x:forEach var="item" select="$nav/body/breadcrumbs/item"><x:expr select="@name" />${titleSeparator}</x:forEach> + </j:if> + <x:if select="$nav/title">${_navTitle}</x:if><x:if select="not($nav/title)">${pom.name}</x:if>${titleSeparator}${_docTitle} + + @@ -268,10 +267,6 @@ - - - -
@@ -288,7 +283,7 @@ ${_navTitle}${pom.name} > ${_docTitle} - +
@@ -699,7 +694,6 @@  >  - diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index 3fd63512..a47e4c9a 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -29,7 +29,7 @@ In breadcrumbs, use for the project's name nav.title if defined, pom.name otherwise. Display the "external link" icon only if the link host is different from the project url (pom.url). - Fix generated pages titles: [nav.title | pom.name] - doc.title + Fix generated pages titles: [breadcrumbs]* > [nav.title | pom.name]+ > doc.title New attribute fileSuffix for the tag doc:registerReport allow to use another extension than '.html' for a report link. Include instructions for ClearCase, Starteam and Perforce access in the scm-usage page. Include dependencies' scope in dependencies page.