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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 12 14:49:26 PDT 2013


Author: annakrat
Date: 2013-03-12 14:49:26 -0700 (Tue, 12 Mar 2013)
New Revision: 55341

Modified:
   grass/trunk/man/build_html.py
   grass/trunk/man/build_keywords.py
Log:
man/keywords: use description instead of bullet list

Modified: grass/trunk/man/build_html.py
===================================================================
--- grass/trunk/man/build_html.py	2013-03-12 20:29:38 UTC (rev 55340)
+++ grass/trunk/man/build_html.py	2013-03-12 21:49:26 UTC (rev 55341)
@@ -266,7 +266,6 @@
 
 <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade> 
 <h2>Keywords - Index of GRASS GIS modules</h2>
-<ul>
 """
 #"
 

Modified: grass/trunk/man/build_keywords.py
===================================================================
--- grass/trunk/man/build_keywords.py	2013-03-12 20:29:38 UTC (rev 55340)
+++ grass/trunk/man/build_keywords.py	2013-03-12 21:49:26 UTC (rev 55341)
@@ -52,16 +52,17 @@
 keywordsfile.write(header1_tmpl.substitute(title = "GRASS GIS " \
                         "%s Reference Manual: Keywords index" % grass_version))
 keywordsfile.write(headerkeywords_tmpl)
+keywordsfile.write('<dl>')
 for key, values in sorted(keywords.iteritems()):
-    keyword_line = "<li><b>%s</b>:" % key
+    keyword_line = "<dt><b>%s</b></dt><dd>" % key
     for value in sorted(values):
         keyword_line += ' <a href="%s">%s</a>,' % (value, value.replace('.html',
                                                                         ''))
     keyword_line = keyword_line.rstrip(',')
-    keyword_line += '</li>\n'
+    keyword_line += '</dd>\n'
     keywordsfile.write(keyword_line)
 
-keywordsfile.write("</ul>\n")
+keywordsfile.write("</dl>\n")
 write_html_footer(keywordsfile, "index.html", year)  
 keywordsfile.close()
     



More information about the grass-commit mailing list