From 4f5b245f13193500f0fe31c22a01ef972701f0ab Mon Sep 17 00:00:00 2001 From: aheritier Date: Sun, 4 Sep 2005 16:08:22 +0000 Subject: [PATCH] MPFAQ-19 : Optional toplinks and layout fix. Patch submitted by : Lukas Theussl Patch reviewed by : Arnaud Heritier git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@278607 13f79535-47bb-0310-9956-ffa450edef68 --- faq/plugin.properties | 3 +++ faq/src/plugin-resources/faq.jsl | 5 ++++- faq/xdocs/changes.xml | 1 + faq/xdocs/properties.xml | 9 +++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/faq/plugin.properties b/faq/plugin.properties index f1a15f21..b17850f3 100644 --- a/faq/plugin.properties +++ b/faq/plugin.properties @@ -23,3 +23,6 @@ maven.faq.src=${maven.docs.src} # Destination directory where output xdocs file are produced maven.faq.dest=${maven.gen.docs} + +# Whether to generate links to the top of the page +maven.faq.toplinks=true diff --git a/faq/src/plugin-resources/faq.jsl b/faq/src/plugin-resources/faq.jsl index 135dcbe9..d1624621 100644 --- a/faq/src/plugin-resources/faq.jsl +++ b/faq/src/plugin-resources/faq.jsl @@ -80,10 +80,13 @@
+ + # - +
+
diff --git a/faq/xdocs/changes.xml b/faq/xdocs/changes.xml index 8ac08537..9fc33d71 100644 --- a/faq/xdocs/changes.xml +++ b/faq/xdocs/changes.xml @@ -23,6 +23,7 @@ + Optional toplinks and layout fix. FAQ plugin does not produce valid XHTML 1.0 Transitional. Adding a "top" link beside each answer. Document .fml extension requirement diff --git a/faq/xdocs/properties.xml b/faq/xdocs/properties.xml index 0d8ac8ea..c943b68a 100644 --- a/faq/xdocs/properties.xml +++ b/faq/xdocs/properties.xml @@ -44,6 +44,15 @@ Defaults to the value of maven.gen.docs (which is ${maven.build.dir}/generated-xdocs). + + maven.faq.toplinks + Yes + + Specifies whether links to the top of the page should be + generated after each answer. + Defaults to true. + +