Here is a template for a typical navigation file:
There has to be at least one <menu> element
present in the documents body, all other elements are optional.
The core elements of this navigation file are described in a
section
of the main Maven site, we'll just discuss the few additions here.
A list of items that are displayed on the top left of the site. Check the top of this page for an example.
The <menu> element takes an optional
type attribute which can be set to
"header" or "footer". This will put
the corresponding menu on top or on bottom of the navigation
menu, respectively.
To open a link in a new window, use the "target" attribute. For example, for a menu item:
XDoc automatically adds the "Opens in a new window" icon and "New Window" tooltip to links with the "target" attribute.
XDoc also automatically adds the "External Link" icon and tooltip to links referring to external sites (actually, any absolute url).
If a <search/> element is found in the
navigation.xml body, a search navigation menu is
generated that uses google.
You can add additional 'powered-by' logos above the maven logo by
specifying a <powered-by> element in the body
of navigation.xml, e.g.:
You may specify several items to include more logos.
You can use the footer tag for including text or
images just below the navigation menu and above the copyright notice.
This tag is only useful in the navigation.xml file and should be
placed within the body element. For example: