[GRASS-SVN] r52964 - in grass/trunk: man tools

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 29 00:49:43 PDT 2012


Author: neteler
Date: 2012-08-29 00:49:42 -0700 (Wed, 29 Aug 2012)
New Revision: 52964

Modified:
   grass/trunk/man/build_html.py
   grass/trunk/tools/mkhtml.py
Log:
list topics in list pages; html tags cosmetics

Modified: grass/trunk/man/build_html.py
===================================================================
--- grass/trunk/man/build_html.py	2012-08-29 07:49:39 UTC (rev 52963)
+++ grass/trunk/man/build_html.py	2012-08-29 07:49:42 UTC (rev 52964)
@@ -81,16 +81,17 @@
       <td valign="top" bgcolor="${box_color}" class="box"><h3> Quick Introduction</h3>
       <ul>
        <li><a href="helptext.html">How to start with GRASS</a></li>
+       <li><a href="topics.html">Index of topics</a></li>
       </ul>
      <p>
       <ul>
-       <li><a href="projectionintro.html">Intro projections and spatial transformations</a></li>
-       <li><a href="rasterintro.html">Intro 2D raster map processing</a></li>
-       <li><a href="raster3dintro.html">Intro 3D raster map (voxel) processing</a></li>
-       <li><a href="imageryintro.html">Intro image processing</a></li>
-       <li><a href="vectorintro.html">Intro vector map processing and network analysis</a></li>
-       <li><a href="databaseintro.html">Intro database management</a></li>
-       <li><a href="temporalintro.html">Intro temporal data processing</a></li>
+       <li><a href="projectionintro.html">Intro: projections and spatial transformations</a></li>
+       <li><a href="rasterintro.html">Intro: 2D raster map processing</a></li>
+       <li><a href="raster3dintro.html">Intro: 3D raster map (voxel) processing</a></li>
+       <li><a href="imageryintro.html">Intro: image processing</a></li>
+       <li><a href="vectorintro.html">Intro: vector map processing and network analysis</a></li>
+       <li><a href="databaseintro.html">Intro: database management</a></li>
+       <li><a href="temporalintro.html">Intro: temporal data processing</a></li>
       </ul></td>
       <td valign="top" bgcolor="${box_color}" class="box"><h3> Display/Graphical User Interfaces</h3>
        <ul>
@@ -158,7 +159,7 @@
 #"
 
 footer_tmpl = string.Template(\
-r"""<BR><BR>
+r"""<br><br>
 <hr>
 <p><a href="${index_url}">Help Index</a> | <a href="topics.html">Topics Index</a> | <a href="full_index.html">Full Index</a><br>
 © 2003-2012 <a href="http://grass.osgeo.org">GRASS Development Team</a>, GRASS GIS ${grass_version} Reference Manual</p>
@@ -173,7 +174,7 @@
 
 cmd2_tmpl = string.Template(\
 r"""<a name="${cmd}"></a>
-<BR><BR><h3>${cmd}.* commands:</h3>
+<br><br><h3>${cmd}.* commands:</h3>
 <table>
 """)
 #"
@@ -185,7 +186,7 @@
 
 sections = \
 r""" ]
-<BR><BR>
+<br><br>
 
 <table border=0>
 <tr><td>  <a href="full_index.html#d">d.*</a> </td><td>display commands</td></tr>
@@ -207,12 +208,12 @@
 #"
 
 modclass_intro_tmpl = string.Template(\
-r"""Go to <a href="${modclass_lower}intro.html">${modclass} introduction</a><p>
+r"""Go to <a href="${modclass_lower}intro.html">${modclass} introduction</a> | <a href="topics.html">topics</a> <p>
 """)
 #"
 
 modclass_tmpl = string.Template(\
-r"""Go <a href="index.html">back to help overview</a><BR><BR><BR>
+r"""Go <a href="index.html">back to help overview</a><br><br><br>
 <b>${modclass} commands:</b>
 <table>
 """)
@@ -225,8 +226,8 @@
 
 
 full_index_header = \
-r"""Go <a href="index.html">back to help overview</a><BR>
-<BR><h3>Full command index:</h3>
+r"""Go <a href="index.html">back to help overview</a><br>
+<br><h3>Full command index:</h3>
 [ 
 """
 #"

Modified: grass/trunk/tools/mkhtml.py
===================================================================
--- grass/trunk/tools/mkhtml.py	2012-08-29 07:49:39 UTC (rev 52963)
+++ grass/trunk/tools/mkhtml.py	2012-08-29 07:49:42 UTC (rev 52964)
@@ -51,7 +51,7 @@
 
 footer_index = string.Template(\
 """<hr>
-<p><a href="index.html">Main index</a> - <a href="${INDEXNAME}.html">${INDEXNAMECAP} index</a> - <a href="full_index.html">Full index</a></p>
+<p><a href="index.html">Main index</a> - <a href="${INDEXNAME}.html">${INDEXNAMECAP} index</a> - <a href="topics.html">Topics index</a> - <a href="full_index.html">Full index</a></p>
 <p>© 2003-${YEAR} <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
 </body>
 </html>
@@ -59,7 +59,7 @@
 
 footer_noindex = string.Template(\
 """<hr>
-<p><a href="index.html">Main index</a> - <a href="full_index.html">Full index</a></p>
+<p><a href="index.html">Main index</a> - <a href="topics.html">Topics index</a> - <a href="full_index.html">Full index</a></p>
 <p>© 2003-${YEAR} <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
 </body>
 </html>



More information about the grass-commit mailing list