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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 23 18:51:50 PDT 2015


Author: wenzeslaus
Date: 2015-08-23 18:51:50 -0700 (Sun, 23 Aug 2015)
New Revision: 65995

Modified:
   grass/trunk/man/build_html.py
   grass/trunk/tools/mkhtml.py
Log:
docs: sync capital latter for indexes in footer and make it more readble in the code

Modified: grass/trunk/man/build_html.py
===================================================================
--- grass/trunk/man/build_html.py	2015-08-23 16:43:08 UTC (rev 65994)
+++ grass/trunk/man/build_html.py	2015-08-24 01:51:50 UTC (rev 65995)
@@ -187,8 +187,17 @@
 
 footer_tmpl = string.Template(\
 r"""<hr class="header">
-<p><a href="${index_url}">Manual main page</a> | <a href="topics.html">Topics Index</a> | <a href="keywords.html">Keywords Index</a> | <a href="full_index.html">Full Index</a></p>
-<p>© 2003-${year} <a href="http://grass.osgeo.org">GRASS Development Team</a>, GRASS GIS ${grass_version} Reference Manual</p>
+<p>
+<a href="${index_url}">Main index</a> |
+<a href="topics.html">Topics index</a> |
+<a href="keywords.html">Keywords index</a> |
+<a href="full_index.html">Full index</a>
+</p>
+<p>
+© 2003-${year}
+<a href="http://grass.osgeo.org">GRASS Development Team</a>,
+GRASS GIS ${grass_version} Reference Manual
+</p>
 
 </div>
 </body>

Modified: grass/trunk/tools/mkhtml.py
===================================================================
--- grass/trunk/tools/mkhtml.py	2015-08-23 16:43:08 UTC (rev 65994)
+++ grass/trunk/tools/mkhtml.py	2015-08-24 01:51:50 UTC (rev 65995)
@@ -55,8 +55,19 @@
 
 footer_index = string.Template(\
 """<hr class="header">
-<p><a href="index.html">Main index</a> | <a href="${INDEXNAME}.html">${INDEXNAMECAP} index</a> | <a href="topics.html">Topics index</a> | <a href="keywords.html">Keywords index</a> | <a href="full_index.html">Full index</a></p>
-<p>© 2003-${YEAR} <a href="http://grass.osgeo.org">GRASS Development Team</a>, GRASS GIS ${GRASS_VERSION} Reference Manual</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="keywords.html">Keywords index</a> |
+<a href="full_index.html">Full index</a>
+</p>
+<p>
+© 2003-${YEAR}
+<a href="http://grass.osgeo.org">GRASS Development Team</a>,
+GRASS GIS ${GRASS_VERSION} Reference Manual
+</p>
+
 </div>
 </body>
 </html>
@@ -64,8 +75,18 @@
 
 footer_noindex = string.Template(\
 """<hr class="header">
-<p><a href="index.html">Main index</a> | <a href="topics.html">Topics index</a> | <a href="keywords.html">Keywords index</a> | <a href="full_index.html">Full index</a></p>
-<p>© 2003-${YEAR} <a href="http://grass.osgeo.org">GRASS Development Team</a>, GRASS GIS ${GRASS_VERSION} Reference Manual</p>
+<p>
+<a href="index.html">Main index</a> |
+<a href="topics.html">Topics index</a> |
+<a href="keywords.html">Keywords index</a> |
+<a href="full_index.html">Full index</a>
+</p>
+<p>
+© 2003-${YEAR}
+<a href="http://grass.osgeo.org">GRASS Development Team</a>,
+GRASS GIS ${GRASS_VERSION} Reference Manual
+</p>
+
 </div>
 </body>
 </html>



More information about the grass-commit mailing list