[GRASS-SVN] r52404 - grass/trunk/man

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 18 08:48:42 PDT 2012


Author: neteler
Date: 2012-07-18 08:48:42 -0700 (Wed, 18 Jul 2012)
New Revision: 52404

Modified:
   grass/trunk/man/build_html.py
Log:
add GRASSVERSION in footer

Modified: grass/trunk/man/build_html.py
===================================================================
--- grass/trunk/man/build_html.py	2012-07-18 13:18:21 UTC (rev 52403)
+++ grass/trunk/man/build_html.py	2012-07-18 15:48:42 UTC (rev 52404)
@@ -2,7 +2,7 @@
 # -*- coding: utf-8 -*-
 
 # utilities for generating HTML indices
-# (c) 2003-2006, 2009-2011 by the GRASS Development Team, Markus Neteler, Glynn Clements
+# (c) 2003-2006, 2009-2012 by the GRASS Development Team, Markus Neteler, Glynn Clements
 
 import sys
 import os
@@ -160,7 +160,7 @@
 r"""<BR><BR>
 <hr>
 <p><a href="${index_url}">Help Index</a> | <a href="full_index.html">Full Index</a><br>
-© 2003-2011 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
+© 2003-2012 <a href="http://grass.osgeo.org">GRASS Development Team</a>, GRASS GIS ${grass_version} Reference Manual</p>
 </body>
 </html>
 """)
@@ -296,7 +296,8 @@
     f.write(overview_tmpl.substitute(box_color = box_color))
 
 def write_html_footer(f, index_url):
-    f.write(footer_tmpl.substitute(index_url = index_url))
+    f.write(footer_tmpl.substitute(grass_version = grass_version,
+                                   index_url = index_url))
 
 def get_desc(cmd):
     f = open(cmd, 'r')



More information about the grass-commit mailing list