You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/10/14 19:19:41 UTC
svn commit: r321155 - in
/maven/components/trunk/maven-site/src/site/apt/guides: index.apt mktoc.sh
Author: jvanzyl
Date: Fri Oct 14 10:19:38 2005
New Revision: 321155
URL: http://svn.apache.org/viewcvs?rev=321155&view=rev
Log:
o adding updated toc generator, thanks to bob allison
Modified:
maven/components/trunk/maven-site/src/site/apt/guides/index.apt
maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh
Modified: maven/components/trunk/maven-site/src/site/apt/guides/index.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/index.apt?rev=321155&r1=321154&r2=321155&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/index.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/index.apt Fri Oct 14 10:19:38 2005
@@ -12,16 +12,6 @@
* {{{getting-started/index.html}Getting Started Guide}}
-* Developer Guides
-
- * {{{development/guide-m2-development.html}Guide to Developing Maven 2.x}}
-
- * {{{development/guide-building-m2.html}Guide to Building Maven 2.x}}
-
-* Plug-in Guides
-
- * {{{plugin/guide-plugin-development.html}Plug-in Developer's Guide}}
-
* Mini Guides
* {{{mini/guide-apt-format.html}Guide to the APT Format}}
@@ -91,3 +81,14 @@
* {{{introduction/introduction-to-the-standard-directory-layout.html}Introduction to the Standard Directory Layout}}
+
+* Plugin Guides
+
+ * {{{plugin/guide-java-plugin-development.html}Guide to Developing Java Plugins}}
+
+
+* Developer Guides
+
+ * {{{development/guide-m2-development.html}Guide to Developing Maven 2.x}}
+
+ * {{{development/guide-building-m2.html}Guide to Building Maven 2.x}}
Modified: maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh?rev=321155&r1=321154&r2=321155&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh Fri Oct 14 10:19:38 2005
@@ -1,8 +1,29 @@
toc=`pwd`/index.apt
-cp header.apt $toc
+#
+# Top matter
+#
+
+echo " ------ " > $toc
+echo " Summary of Maven 2.x documentation " >> $toc
+echo " ------ " >> $toc
+echo " Jason van Zyl " >> $toc
+echo " ------ " >> $toc
+echo " 12 October 2005 " >> $toc
+echo " ------ " >> $toc
+echo >> $toc
+echo "Documentation" >> $toc
+echo >> $toc
+echo "* Getting Started Guide" >> $toc
+echo >> $toc
+echo " * {{{getting-started/index.html}Getting Started Guide}}" >> $toc
+#
+# Mini Guides
+#
+
+echo >> $toc
echo "* Mini Guides" >> $toc
echo >> $toc
@@ -17,6 +38,10 @@
done
)
+#
+# Introductions
+#
+
echo >> $toc
echo "* Introductory Material" >> $toc
echo >> $toc
@@ -31,3 +56,33 @@
[ ! -z "$title" ] && echo " * {{{introduction/$i}$title}}" >> $toc && echo >> $toc
done
)
+
+#
+# Plugins
+#
+
+echo >> $toc
+echo "* Plugin Guides" >> $toc
+echo >> $toc
+
+(
+ cd plugin
+
+ for i in `ls guide-*.apt`
+ do
+ title=`grep "^ Guide" $i | sed 's/^ *//'`
+ i=`echo $i | sed 's/\.apt/\.html/'`
+ [ ! -z "$title" ] && echo " * {{{plugin/$i}$title}}" >> $toc && echo >> $toc
+ done
+)
+
+#
+# Developer Guides
+#
+
+echo "" >> $toc
+echo "* Developer Guides " >> $toc
+echo "" >> $toc
+echo " * {{{development/guide-m2-development.html}Guide to Developing Maven 2.x}}" >> $toc
+echo " " >> $toc
+echo " * {{{development/guide-building-m2.html}Guide to Building Maven 2.x}}" >> $toc