[GRASS-SVN] r51492 - grass/branches/releasebranch_6_4/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 23 09:13:52 EDT 2012


Author: neteler
Date: 2012-04-23 06:13:52 -0700 (Mon, 23 Apr 2012)
New Revision: 51492

Modified:
   grass/branches/releasebranch_6_4/tools/build_html_index.sh
Log:
+links to overview pages

Modified: grass/branches/releasebranch_6_4/tools/build_html_index.sh
===================================================================
--- grass/branches/releasebranch_6_4/tools/build_html_index.sh	2012-04-23 12:45:19 UTC (rev 51491)
+++ grass/branches/releasebranch_6_4/tools/build_html_index.sh	2012-04-23 13:13:52 UTC (rev 51492)
@@ -337,8 +337,11 @@
 do 
   MODCLASS=`expand_module_class_name $k`
   FILENAME=$MODCLASS.html
+  MODCLASSlowcase=`echo $MODCLASS | tr '[:upper:]' '[:lower:]'`
 
   write_html_header "$FILENAME" "GRASS GIS $GRASSVERSION Reference Manual: $MODCLASS"
+  # a few pages do not have the meta page:
+  echo "Go to <a href=\"${MODCLASSlowcase}intro.html\">${MODCLASS} introduction</a><p>" | grep -v 'generalintro.html\|miscintro.html\|postscriptintro.html' >>  "$FILENAME"
   echo "Go <a href=\"index.html\">back to help overview</a><BR><BR><BR>" >>  "$FILENAME"
 
   echo "<b>$MODCLASS commands:</b>" >> "$FILENAME"



More information about the grass-commit mailing list