Quellcode durchsuchen

prettified (i.e. reordered) HTML text

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41005 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler vor 15 Jahren
Ursprung
Commit
9ed40e8f7c
1 geänderte Dateien mit 40 neuen und 44 gelöschten Zeilen
  1. 40 44
      man/build_html.py

+ 40 - 44
man/build_html.py

@@ -1,7 +1,8 @@
 #!/usr/bin/env python
 #!/usr/bin/env python
+# -*- coding: utf-8 -*-
 
 
 # utilities for generating HTML indices
 # utilities for generating HTML indices
-# (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009
+# (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009, 2010
 
 
 import sys
 import sys
 import os
 import os
@@ -48,7 +49,7 @@ r""" <link rel="stylesheet" href="grassdocs.css" type="text/css">
 </head>
 </head>
 <body bgcolor="#FFFFFF">
 <body bgcolor="#FFFFFF">
 
 
-<!-- this file is generated by tools/build_html_index.sh -->
+<!-- this file is generated by man/build_html.py -->
 
 
 <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>
 <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>
 
 
@@ -78,36 +79,21 @@ r"""<!-- the files grass7.html & helptext.html file live in lib/init/ -->
     <tr>
     <tr>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Quick Introduction</h3>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Quick Introduction</h3>
       <ul>
       <ul>
-      <li><a href="grass7.html">GRASS startup manual page</a></li>
-      <li><a href="helptext.html">How to start with GRASS</a></li>
-      </ul></td>
-
-      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;General</h3>
+       <li><a href="helptext.html">How to start with GRASS</a></li>
+      </ul>
+     <p>
       <ul>
       <ul>
-      <li><a href="general.html">General commands manual</a></li>
-      </ul></td>
-    </tr>
-    <tr>
-      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Raster/Image processing</h3>
-
-       <ul>
-        <li><a href="rasterintro.html">Intro 2D raster map processing</a></li>
-        <li><a href="raster.html">Raster commands manual</a></li>
-        <li><a href="raster3dintro.html">Intro 3D raster map (voxel) processing</a></li>
-        <li><a href="raster3D.html">Raster3D commands manual</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>
       </ul></td>
       </ul></td>
-      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Vector processing</h3>
-
-       <ul>
-        <li><a href="vectorintro.html">Intro vector map processing and network analysis</a></li>
-        <li><a href="vector.html">Vector commands manual</a></li>
-       </ul></td>
-    </tr>
-    <tr>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Display/Graphical User Interfaces</h3>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Display/Graphical User Interfaces</h3>
-
        <ul>
        <ul>
         <li><a href="wxGUI.html">wxGUI</a> wxPython-based GUI frontend</li>
         <li><a href="wxGUI.html">wxGUI</a> wxPython-based GUI frontend</li>
+        <li><a href="gis.m.html">gis.m</a> and <a href=d.m.html>d.m</a> TCL/TK-based GUI frontend</li>
        </ul>
        </ul>
 
 
        <ul>
        <ul>
@@ -119,40 +105,50 @@ r"""<!-- the files grass7.html & helptext.html file live in lib/init/ -->
         <li><a href="nviz.html">nviz</a> 3D visualization and animation tool</li>
         <li><a href="nviz.html">nviz</a> 3D visualization and animation tool</li>
         <li><a href="xganim.html">xganim</a> tool  for animating a raster map series</li>
         <li><a href="xganim.html">xganim</a> tool  for animating a raster map series</li>
        </ul></td>
        </ul></td>
+    </tr>
+    <tr>
+      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Raster and voxel processing</h3>
+       <ul>
+        <li><a href="raster.html">Raster commands manual</a></li>
+        <li><a href="raster3D.html">Raster3D commands manual</a></li>
+      </ul></td>
+      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Image processing</h3>
+       <ul>
+        <li><a href="imagery.html">Imagery commands manual</a></li>
+      </ul></td>
+    </tr>
+    <tr>
+      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Vector processing</h3>
+       <ul>
+        <li><a href="vector.html">Vector commands manual</a></li>
+      </ul></td>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Database</h3>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Database</h3>
-
        <ul>
        <ul>
-       <li><a href="databaseintro.html">Intro database management</a></li>
        <li><a href="sql.html">SQL support in GRASS GIS</a></li>
        <li><a href="sql.html">SQL support in GRASS GIS</a></li>
        <li><a href="database.html">Database commands manual</a></li>
        <li><a href="database.html">Database commands manual</a></li>
        </ul></td>
        </ul></td>
     </tr>
     </tr>
     <tr>
     <tr>
-
-      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Projections</h3>
-       <ul>
-        <li><a href="projectionintro.html">Intro projections and spatial transformations</a></li>
-       </ul></td>
+      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;General</h3>
+      <ul>
+      <li><a href="grass6.html">GRASS startup manual page</a></li>
+      <li><a href="general.html">General commands manual</a></li>
+      </ul></td>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Miscellaneous</h3>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Miscellaneous</h3>
        <ul>
        <ul>
-        <li><a href="variables.html">GRASS variables and environment variables</a></li>
-
-        <li><a href="gem/index.html">The GRASS Extensions Manager (GEM)</a></li>
         <li><a href="misc.html">Misc. commands manual</a></li>
         <li><a href="misc.html">Misc. commands manual</a></li>
+        <li><a href="gem/index.html">The GRASS Extensions Manager (GEM)</a></li>
        </ul></td>
        </ul></td>
     </tr>
     </tr>
     <tr>
     <tr>
-      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Image processing</h3>
+      <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Variables</h3>
        <ul>
        <ul>
-
-        <li><a href="imageryintro.html">Intro image processing</a></li>
-        <li><a href="imagery.html">Imagery commands manual</a></li>
-      </ul></td>
+        <li><a href="variables.html">GRASS variables and environment variables</a></li>
+       </ul></td>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Printing</h3>
       <td valign="top" bgcolor="${box_color}" class="box"><h3>&nbsp;Printing</h3>
        <ul>
        <ul>
         <li><a href="postscript.html">Postscript commands manual</a></li>
         <li><a href="postscript.html">Postscript commands manual</a></li>
        </ul></td>
        </ul></td>
-
     </tr>
     </tr>
   </tbody>
   </tbody>
 </table>
 </table>
@@ -163,7 +159,7 @@ footer_tmpl = string.Template(\
 r"""<BR><BR>
 r"""<BR><BR>
 <hr>
 <hr>
 <p><a href="${index_url}">Help Index</a> | <a href="full_index.html">Full Index</a><br>
 <p><a href="${index_url}">Help Index</a> | <a href="full_index.html">Full Index</a><br>
-&copy; 2003-2009 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
+&copy; 2003-2010 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
 </body>
 </body>
 </html>
 </html>
 """)
 """)