From ec5499eba51bb6ea0d27f1b383c51563ccf9bb2d Mon Sep 17 00:00:00 2001 From: jvanzyl Date: Tue, 9 Dec 2003 00:57:58 +0000 Subject: [PATCH] o applying patch for MPFAQ-1 http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPFAQ-1 [process::MPFAQ-1] git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114463 13f79535-47bb-0310-9956-ffa450edef68 --- faq/plugin.jelly | 10 ++++++---- faq/xdocs/index.xml | 24 ++++++++++++++++++------ 2 files changed, 24 insertions(+), 10 deletions(-) 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 + + ]]>