From 0236ebabdb83d9de4c0b2f8e10ef178582e28fc8 Mon Sep 17 00:00:00 2001 From: aheritier Date: Sat, 18 Mar 2006 22:21:29 +0000 Subject: [PATCH] Allow the use of items' attributes 'target' and 'img' for breadcrumbs entries in the navigation file. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@386891 13f79535-47bb-0310-9956-ffa450edef68 --- xdoc/src/plugin-resources/site.jsl | 38 +++++++++++++++++------------- xdoc/xdocs/changes.xml | 1 + xdoc/xdocs/reference/navfile.xml | 2 +- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/xdoc/src/plugin-resources/site.jsl b/xdoc/src/plugin-resources/site.jsl index 965fc5dd..05cbe806 100644 --- a/xdoc/src/plugin-resources/site.jsl +++ b/xdoc/src/plugin-resources/site.jsl @@ -651,6 +651,20 @@ + + + + + + + + + ${poweredbytitle} + + + + + @@ -671,29 +685,19 @@ - - - - - - - - - ${poweredbytitle} - - - - - - + + - ${_name} -  >  + + +  > + + diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index a47e4c9a..742990bb 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -27,6 +27,7 @@ + Allow the use of items' attributes 'target' and 'img' for breadcrumbs entries in the navigation file. 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: [breadcrumbs]* > [nav.title | pom.name]+ > doc.title diff --git a/xdoc/xdocs/reference/navfile.xml b/xdoc/xdocs/reference/navfile.xml index abc7c2ac..6d018317 100644 --- a/xdoc/xdocs/reference/navfile.xml +++ b/xdoc/xdocs/reference/navfile.xml @@ -165,7 +165,7 @@ The xdoc:navigation-validate goal can be used to check whether your ${maven.xdoc.navigation.file} is a valid navigation.file. Validation is performed against this - xsd. Note that the order of + xsd. Note that the order of elements is important and should be the same as in the example above.