From ea3bf7ea849541f8277925c83402d8101a6f14f1 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Mon, 12 Sep 2005 17:05:49 +0000 Subject: [PATCH] MPXDOC-24 : Add navigation bar git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@280371 13f79535-47bb-0310-9956-ffa450edef68 --- xdoc/src/plugin-resources/site.jsl | 23 +++++++++++++++++++ .../templates/templates.properties | 3 +++ .../templates/templates_de.properties | 3 +++ .../templates/templates_fr.properties | 3 +++ xdoc/xdocs/changes.xml | 1 + xdoc/xdocs/index.xml | 10 ++++++++ 6 files changed, 43 insertions(+) diff --git a/xdoc/src/plugin-resources/site.jsl b/xdoc/src/plugin-resources/site.jsl index 4adfed34..e7a379d6 100644 --- a/xdoc/src/plugin-resources/site.jsl +++ b/xdoc/src/plugin-resources/site.jsl @@ -840,6 +840,29 @@ + + + + + + + + +
+ +
+ diff --git a/xdoc/src/plugin-resources/templates/templates.properties b/xdoc/src/plugin-resources/templates/templates.properties index b665004a..4f9d38ee 100644 --- a/xdoc/src/plugin-resources/templates/templates.properties +++ b/xdoc/src/plugin-resources/templates/templates.properties @@ -164,3 +164,6 @@ site.language=Language site.goals=Goals site.goal=Goal site.description=Description +site.navbar.previous=previous +site.navbar.home=home +site.navbar.next=next diff --git a/xdoc/src/plugin-resources/templates/templates_de.properties b/xdoc/src/plugin-resources/templates/templates_de.properties index 5e6b5591..73ef7eb0 100644 --- a/xdoc/src/plugin-resources/templates/templates_de.properties +++ b/xdoc/src/plugin-resources/templates/templates_de.properties @@ -163,3 +163,6 @@ site.opens_new_window = site.language = Sprache site.locale.en = Englisch site.locale.fr = Französisch +site.navbar.previous=zurück +site.navbar.home=Übersicht +site.navbar.next=weiter diff --git a/xdoc/src/plugin-resources/templates/templates_fr.properties b/xdoc/src/plugin-resources/templates/templates_fr.properties index 3f9fce6a..1eec50ea 100644 --- a/xdoc/src/plugin-resources/templates/templates_fr.properties +++ b/xdoc/src/plugin-resources/templates/templates_fr.properties @@ -166,3 +166,6 @@ site.language=Langue site.goals=Buts site.goal=But site.description=Description +site.navbar.previous=précédent +site.navbar.home=Accueil +site.navbar.next=suivant diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index 68d3c5b8..ee3ee858 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -27,6 +27,7 @@ + Add a navigation bar. Add an optional id tag to sub/sections, so they can be referenced. Add a property to override navigation.xml. Show organization in header even if logo not set. diff --git a/xdoc/xdocs/index.xml b/xdoc/xdocs/index.xml index f1aae2b4..6845b4de 100644 --- a/xdoc/xdocs/index.xml +++ b/xdoc/xdocs/index.xml @@ -53,6 +53,16 @@ ]]> + +

+ You can put a navigation bar on bottom of each page by including + a <navbar/> element in an xdoc's body. + This element takes three optional attributes, + prev, home and next, as + shown in the following example: +

+ ]]> +

If a search element is found in the navigation.xml body, a search navigation menu is generated that uses google