[GRASS-dev] GRASS 7: link to overview pages Python modification needed

Hi,

could anyone please update
grass70/man/build_html.py

with the below mentioned new manual improvement? My Python foo
is still not sufficient...

thanks
Markus

On Mon, Apr 23, 2012 at 3:14 PM, <svn_grass@osgeo.org> wrote:

Author: neteler
Date: 2012-04-23 06:14:01 -0700 (Mon, 23 Apr 2012)
New Revision: 51493

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

Modified: grass/branches/develbranch_6/tools/build_html_index.sh

--- grass/branches/develbranch_6/tools/build_html_index.sh 2012-04-23 13:13:52 UTC (rev 51492)
+++ grass/branches/develbranch_6/tools/build_html_index.sh 2012-04-23 13:14:01 UTC (rev 51493)
@@ -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"

_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-commit

Markus Neteler wrote:

could anyone please update
grass70/man/build_html.py

Try r51519.

--
Glynn Clements <glynn@gclements.plus.com>

On Tue, Apr 24, 2012 at 2:02 PM, Glynn Clements
<glynn@gclements.plus.com> wrote:

Markus Neteler wrote:

could anyone please update
grass70/man/build_html.py

Try r51519.

At a quick glance, it looks perfect:

http://grass.osgeo.org/grass70/manuals/html70_user/vector.html
--> Go to vector introduction

http://grass.osgeo.org/grass70/manuals/html70_user/general.html
--> no such link as expected (generalintro.html does not exist)

thanks,
Markus