From 48ef4fdf4b29f988305e617c85304b16cca0339d Mon Sep 17 00:00:00 2001 From: brett Date: Sun, 15 May 2005 07:36:59 +0000 Subject: [PATCH] PR: MPFAQ-17, MPFAQ-18 Submitted by: Jeff Jensen Reviewed by: Brett Porter Improve documentation, and add an XSD for the FAQ format. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@170204 13f79535-47bb-0310-9956-ffa450edef68 --- faq/xdocs/faq.xsd | 46 ++++++++++++++++++++++++++++++++++++++++ faq/xdocs/index.xml | 8 +++---- faq/xdocs/properties.xml | 8 ++++--- 3 files changed, 55 insertions(+), 7 deletions(-) create mode 100644 faq/xdocs/faq.xsd diff --git a/faq/xdocs/faq.xsd b/faq/xdocs/faq.xsd new file mode 100644 index 00000000..a07bc43e --- /dev/null +++ b/faq/xdocs/faq.xsd @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/faq/xdocs/index.xml b/faq/xdocs/index.xml index cc7d1fbd..fa791031 100644 --- a/faq/xdocs/index.xml +++ b/faq/xdocs/index.xml @@ -34,10 +34,10 @@

The plugin uses the xdocs directory by default to generate the FAQ files. There is an example of the XML format - here. - -
- + here. There is an XSD describing the format of the file + here. +

+

Please note that the the FAQ description has to be in a file with a .fml extension.

diff --git a/faq/xdocs/properties.xml b/faq/xdocs/properties.xml index 8ab2e877..0d8ac8ea 100644 --- a/faq/xdocs/properties.xml +++ b/faq/xdocs/properties.xml @@ -30,16 +30,18 @@ PropertyOptional?Description maven.faq.src - Yes (default=${basedir}/xdocs) + Yes - Specifies the source directory for FAQ documents in XML format. + Specifies the source directory for FAQ documents in XML format. + Defaults to the value of maven.docs.src (which is ${basedir}/xdocs). maven.faq.dest - Yes (default=target/generated-xdocs) + Yes Specifies the destination of the generated FAQ documents. + Defaults to the value of maven.gen.docs (which is ${maven.build.dir}/generated-xdocs).