Skip to content

Commit

Permalink
full index manual: add missing pages (#258)
Browse files Browse the repository at this point in the history
* full index manual: add missing pages

- add "wxGUI" section to list wxGUI related manual pages
- add "Further pages" section to list "variables" and other manual pages
- minor http to https URL fixes

Fixes https://trac.osgeo.org/grass/ticket/3987
  • Loading branch information
neteler committed Dec 18, 2019
1 parent 3876584 commit 81bb9df
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 15 deletions.
45 changes: 34 additions & 11 deletions man/build_html.py
Expand Up @@ -58,8 +58,8 @@
<h2>GRASS GIS ${grass_version} Reference Manual</h2>
<p><b>Geographic Resources Analysis Support System</b>, commonly
referred to as <a href="http://grass.osgeo.org">GRASS</a>, is a <a
href="http://en.wikipedia.org/wiki/Geographic_information_system">Geographic
referred to as <a href="https://grass.osgeo.org">GRASS GIS</a>, is a <a
href="https://en.wikipedia.org/wiki/Geographic_information_system">Geographic
Information System</a> (GIS) used for geospatial data management and
analysis, image processing, graphics/maps production, spatial
modeling, and visualization. GRASS is currently used in academic and
Expand All @@ -68,7 +68,7 @@
<p>This reference manual details the use of modules distributed with
Geographic Resources Analysis Support System (GRASS), an open source
(<a href="http://www.gnu.org/licenses/gpl.html">GNU GPLed</a>), image
(<a href="https://www.gnu.org/licenses/gpl.html">GNU GPLed</a>), image
processing and geographic information system (GIS).</p>
""")
Expand All @@ -91,7 +91,7 @@
</ul>
<p>
<ul>
<li class="box"><span><a href="http://grasswiki.osgeo.org/wiki/Faq">FAQ - Frequently Asked Questions</a> (Wiki)</span></li>
<li class="box"><span><a href="https://grasswiki.osgeo.org/wiki/Faq">FAQ - Frequently Asked Questions</a> (Wiki)</span></li>
</ul>
<p>
<ul>
Expand Down Expand Up @@ -183,8 +183,8 @@
</td>
<td width="33%" valign="top" class="box"><h3>&nbsp;Python</h3>
<ul>
<li class="box"><a href="http://grass.osgeo.org/grass${grass_version_major}${grass_version_minor}/manuals/libpython/index.html">GRASS GIS Python library documentation</a></li>
<li class="box"><a href="http://grass.osgeo.org/grass${grass_version_major}${grass_version_minor}/manuals/libpython/pygrass_index.html">PyGRASS documentation</a></li>
<li class="box"><a href="https://grass.osgeo.org/grass${grass_version_major}${grass_version_minor}/manuals/libpython/index.html">GRASS GIS Python library documentation</a></li>
<li class="box"><a href="https://grass.osgeo.org/grass${grass_version_major}${grass_version_minor}/manuals/libpython/pygrass_index.html">PyGRASS documentation</a></li>
</ul>
</td>
</tr>
Expand All @@ -194,7 +194,30 @@
#"

footer_tmpl = string.Template(\
r"""<hr class="header">
r"""<a name="wxGUI"></a>
<h3>wxGUI: Graphical user interface</h3>
<table><tbody>
<tr><td valign="top"><a href="wxGUI.html">wxGUI Graphical User Interface</a></td> <td>wxGUI Graphical User Interface</td></tr>
<tr><td valign="top"><a href="wxGUI.nviz.html">3D visualization suite</a></td> <td>wxGUI.nviz 3D visualization suite</td></tr>
</tbody></table>
<p>
<a name="further"></a>
<h3>Further pages</h3>
<table><tbody>
<tr><td valign="top"><a href="databaseintro.html">database intro</a></td> <td>database intro</td></tr>
<tr><td valign="top"><a href="imageryintro.html">imagery intro</a></td> <td>imagery intro</td></tr>
<tr><td valign="top"><a href="projectionintro.html">projection intro</a></td> <td>projection intro</td></tr>
<tr><td valign="top"><a href="raster3dintro.html">raster3D intro</a></td> <td>raster3D intro</td></tr>
<tr><td valign="top"><a href="rasterintro.html">raster intro</a></td> <td>raster intro</td></tr>
<tr><td valign="top"><a href="temporalintro.html">temporal intro</a></td> <td>temporal intro</td></tr>
<tr><td valign="top"><a href="vectorintro.html">vector intro</a></td> <td>vector intro</td></tr>
<tr><td valign="top"> </td> <td> </td></tr>
<tr><td valign="top"><a href="sql.html">SQL</a></td> <td>SQL</td></tr>
<tr><td valign="top"><a href="variables.html">Variables</a></td> <td>Variables</td></tr>
</tbody></table>
<p>
<hr class="header">
<p>
<a href="${index_url}">Main index</a> |
<a href="topics.html">Topics index</a> |
Expand All @@ -204,7 +227,7 @@
</p>
<p>
&copy; 2003-${year}
<a href="http://grass.osgeo.org">GRASS Development Team</a>,
<a href="https://grass.osgeo.org">GRASS Development Team</a>,
GRASS GIS ${grass_version} Reference Manual
</p>
Expand Down Expand Up @@ -241,8 +264,8 @@
<li class="toc"><a class="toc" href="full_index.html#r3">3D raster commands (r3.*)</a></li>
<li class="toc"><a class="toc" href="full_index.html#t">Temporal commands (t.*)</a></li>
<li class="toc"><a class="toc" href="full_index.html#v">Vector commands (v.*)</a></li>
<li class="toc"><a class="toc" href="wxGUI.html">wxGUI Graphical User Interface</a></li>
<li class="toc"><a class="toc" href="wxGUI.nviz.html">3D visualization suite</a></li>
<li class="toc"><a class="toc" href="full_index.html#wxGUI">wxGUI Graphical User Interface</a></li>
<li class="toc"><a class="toc" href="full_index.html#further">Further pages</a></li>
</ul>
</div>
"""
Expand Down Expand Up @@ -334,7 +357,7 @@
r"""
<link rel="stylesheet" href="grassdocs.css" type="text/css">
<link rel="stylesheet" href="parser_standard_options.css" type="text/css">
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="jquery.fixedheadertable.min.js"></script>
<script type="text/javascript" src="parser_standard_options.js"></script>
</head>
Expand Down
8 changes: 4 additions & 4 deletions man/build_rest.py
Expand Up @@ -7,7 +7,7 @@
"""
# utilities for generating REST indices
# utilities for generating HTML indices
# (c) 2003-2006, 2009-2012 by the GRASS Development Team, Markus Neteler, Glynn Clements, Luca Delucchi
# (c) 2003-2019 by the GRASS Development Team, Markus Neteler, Glynn Clements, Luca Delucchi

import sys
import os
Expand Down Expand Up @@ -46,16 +46,16 @@
--------------------------------------------------------------------
**Geographic Resources Analysis Support System**, commonly
referred to as `GRASS <http://grass.osgeo.org>`_, is a `Geographic
Information System <http://en.wikipedia.org/wiki/Geographic_information_system>`_
referred to as `GRASS GIS <https://grass.osgeo.org>`_, is a `Geographic
Information System <https://en.wikipedia.org/wiki/Geographic_information_system>`_
(GIS) used for geospatial data management and analysis, image processing,
graphics/maps production, spatial modeling, and visualization. GRASS is
currently used in academic and commercial settings around the world, as
well as by many governmental agencies and environmental consulting companies.
This reference manual details the use of modules distributed with
Geographic Resources Analysis Support System (GRASS), an open source
(`GNU GPLed <http://www.gnu.org/licenses/gpl.html>`_), image
(`GNU GPLed <https://www.gnu.org/licenses/gpl.html>`_), image
processing and geographic information system (GIS).
""")

Expand Down

0 comments on commit 81bb9df

Please sign in to comment.