Browse Source

manual: put module name at first position in overview page

related to #248

Show the individual manual page titles with module name at first position to render them visible on a bar of tabs in the browser.
Fixes https://trac.osgeo.org/grass/ticket/3994
Markus Neteler 5 years ago
parent
commit
2ac2acfd30
1 changed files with 2 additions and 2 deletions
  1. 2 2
      man/build_class.py

+ 2 - 2
man/build_class.py

@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 
 # generates HTML man pages docs/html/<category>.html
-# (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009
+# (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009, 2019
 
 import sys
 import os
@@ -27,7 +27,7 @@ filename = modclass + ".html"
 
 f = open(filename + ".tmp", 'w')
 
-write_html_header(f, "GRASS GIS %s Reference Manual: %s" % (grass_version, modclass))
+write_html_header(f, "%s modules - GRASS GIS %s Reference Manual" % (modclass.capitalize(), grass_version))
 modclass_lower = modclass.lower()
 modclass_visible = modclass
 if modclass_lower not in no_intro_page_classes: