xdoc:generate-from-pom
+ and xdoc:transform goals.
project.xml file.
This includes the dependency, mailing list, project info, project
- reports and team list pages
+ reports and team list pages.
+ 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
-
- 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.
-If you need to include the contents of another XML document in your document, you can use the <escapeXml> tag, as demonstrated below. For instance, the code:
Would produce the following output (click here to see the content of escapeXml.xml):
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 automatically adds the "External Link" icon and tooltip to links referring to external sites (actually, any absolute url).
-From version 1.10 on, the xdoc plugin allows for an optional id tag in the section and subsection elements:
An anchor is constructed from each id tag, so you can reference sections and subsections from other source documents. Note that each id tag has to be unique within one source document.
In previous versions of the plugin, an id tag was constructed from section/subsection names, replacing special characters by underscores. For backwards compatibility reasons, we keep this behaviour, i.e., if no id tag is present, an anchor is constructed from the name tag. Note that this presents two shortcomings:
We recommend that you provide an id tag if you want to reference a section or subsection.