From 9cd8af91d82f464abfc96c59b8c01ebf81e4500c Mon Sep 17 00:00:00 2001 From: ltheussl Date: Wed, 8 Feb 2006 21:55:43 +0000 Subject: [PATCH] PR: MPXDOC-185 Fix broken maven.xdoc.date=navigation-top and navigation-bottom. Update docs. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@376091 13f79535-47bb-0310-9956-ffa450edef68 --- xdoc/src/plugin-resources/site.jsl | 41 ++++++++++++++++++++---------- xdoc/xdocs/changes.xml | 1 + xdoc/xdocs/properties.xml | 15 +++++------ 3 files changed, 36 insertions(+), 21 deletions(-) diff --git a/xdoc/src/plugin-resources/site.jsl b/xdoc/src/plugin-resources/site.jsl index 7aaa2481..7f320ae8 100644 --- a/xdoc/src/plugin-resources/site.jsl +++ b/xdoc/src/plugin-resources/site.jsl @@ -287,8 +287,13 @@ + + + + +
- + : ${build.date} @@ -300,9 +305,9 @@ - + - +

@@ -310,6 +315,16 @@
@@ -442,7 +462,7 @@ diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index 27b53250..a48963c2 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -27,6 +27,7 @@ + Fix broken maven.xdoc.date=navigation-top and navigation-bottom. Enable user-defined custom templates. Correct cvs checkout instructions on cvs-usage page. Url and timezone not used for contributor. diff --git a/xdoc/xdocs/properties.xml b/xdoc/xdocs/properties.xml index 5f93d0c2..3a73c1e1 100644 --- a/xdoc/xdocs/properties.xml +++ b/xdoc/xdocs/properties.xml @@ -304,11 +304,11 @@ Allows the user to show the site generation date on the generated website. One can place the date in 5 locations with "maven.xdoc.date":
    -
  • left : on the left side of the breadcrumbs
  • -
  • right : on the right side of the breadcrumbs, before the links
  • +
  • left : at the place of the breadcrumbs (only if there are no breadcrumbs)
  • +
  • right : at the place of the links (only if there are no links)
  • navigation-top : above the user links, in the navigation menu
  • -
  • navigation-bottom : under Maven's links, in the navigation menu
  • -
  • bottom : after the organization name, in the footer
  • +
  • navigation-bottom : below Maven's links, in the navigation menu
  • +
  • bottom : on the left side in the footer
If "maven.xdoc.date" is left empty, no date is shown on the site (default). @@ -317,11 +317,10 @@ maven.xdoc.version Yes - The version number to show next to the date. This only works if you also set - maven.xdoc.date to either left or right. - By default, maven.xdoc.version isn't setted and the value of + The version number to show next to the date. + By default, maven.xdoc.version is not set and the value of pom.currentVersion is displayed. - If maven.xdoc.version is setted to empty, no version is shown on the site. + If maven.xdoc.version is set to empty, no version is shown on the site.