diff --git a/xdoc/plugin.jelly b/xdoc/plugin.jelly index 61976cc0..769bc63d 100644 --- a/xdoc/plugin.jelly +++ b/xdoc/plugin.jelly @@ -917,8 +917,16 @@ + + + + + + + + + plugin="maven-xdoc-plugin" property="maven.xdoc.xml.copy" /> ${maven_xdoc_xml_copy_pattern} diff --git a/xdoc/src/plugin-resources/site.jsl b/xdoc/src/plugin-resources/site.jsl index e7a379d6..b92937fe 100644 --- a/xdoc/src/plugin-resources/site.jsl +++ b/xdoc/src/plugin-resources/site.jsl @@ -124,7 +124,22 @@ - + + + + + + + + + + + + + + + + diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index ee3ee858..8f8b4295 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -27,6 +27,7 @@ + Support global theme. Add a navigation bar. Add an optional id tag to sub/sections, so they can be referenced. Add a property to override navigation.xml. diff --git a/xdoc/xdocs/properties.xml b/xdoc/xdocs/properties.xml index 69602fe2..b7eecf37 100644 --- a/xdoc/xdocs/properties.xml +++ b/xdoc/xdocs/properties.xml @@ -215,8 +215,22 @@ Yes The documentation theme to use. The default is theme, - and valid values are theme (RC2+) or classic - (used in Maven RC1 and below). + and valid values are theme (Maven 1.0RC2+) or + classic (used in Maven 1.0RC1 and below). + You can override this property + if you provide a file maven-<theme_name>.css + in the ${maven.docs.src}/stylesheets directory. + + + + maven.xdoc.theme.file + Yes + + Define the location of a local theme file. + This should be relative to the current ${basedir}. + The file will be copied into the + ${maven.docs.dest}/style directory. + This is useful for providing a global theme in a multiproject setup.