Selaa lähdekoodia

docs: sync capital latter for indexes in footer and make it more readble in the code (trunk, https://trac.osgeo.org/grass/changeset/65995)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@66122 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 vuotta sitten
vanhempi
commit
757d5bf92e
2 muutettua tiedostoa jossa 36 lisäystä ja 6 poistoa
  1. 11 2
      man/build_html.py
  2. 25 4
      tools/mkhtml.py

+ 11 - 2
man/build_html.py

@@ -187,8 +187,17 @@ r"""<!-- the files grass${grass_version_major}.html & helptext.html file live in
 
 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>&copy; 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>
+&copy; 2003-${year}
+<a href="http://grass.osgeo.org">GRASS Development Team</a>,
+GRASS GIS ${grass_version} Reference Manual
+</p>
 
 </div>
 </body>

+ 25 - 4
tools/mkhtml.py

@@ -55,8 +55,19 @@ header_pgm_desc = """<h2>NAME</h2>
 
 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>&copy; 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>
+&copy; 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_index = string.Template(\
 
 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>&copy; 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>
+&copy; 2003-${YEAR}
+<a href="http://grass.osgeo.org">GRASS Development Team</a>,
+GRASS GIS ${GRASS_VERSION} Reference Manual
+</p>
+
 </div>
 </body>
 </html>