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

Markus Neteler neteler at osgeo.org
Mon Apr 23 09:20:20 EDT 2012


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 at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-commit


More information about the grass-dev mailing list