diff --git a/faq/plugin.jelly b/faq/plugin.jelly index bedd4a13..0f3bb21e 100644 --- a/faq/plugin.jelly +++ b/faq/plugin.jelly @@ -69,14 +69,16 @@ - + - <x:expr select="$root/title"/> + -
+ + +

@@ -92,7 +94,7 @@ -

+ diff --git a/faq/xdocs/index.xml b/faq/xdocs/index.xml index 58c906b4..15e0a050 100644 --- a/faq/xdocs/index.xml +++ b/faq/xdocs/index.xml @@ -9,13 +9,13 @@

- This plugin generates xdoc documentation from an XML FAQ document. + This plugin generates xdoc documentation from XML FAQ documents. This automates the creation of an index of questions with hypertext links to the full question and answers.

- The plugin uses by default a file called xdocs/faq.fml - to generate the FAQ entry. There is an example of the XML format + The plugin uses the xdocs directory by default + to generate the FAQ files. There is an example of the XML format here.

@@ -26,9 +26,21 @@ To enable FAQ generation add the following to your maven.xml

- <preGoal name="xdoc:jelly-transform"> - <attainGoal name="faq"/> - </preGoal> + + + + ]]> + +

+ You can also add the faq generation to your project.xml likt this : +

+ + + maven-faq-plugin + + ]]>