Skip to content

Commit

Permalink
manual: put module name at first position in overview page
Browse files Browse the repository at this point in the history
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
  • Loading branch information
neteler committed Dec 11, 2019
1 parent cbca9fa commit 93520a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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
Expand All @@ -27,7 +27,7 @@

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:
Expand Down

0 comments on commit 93520a9

Please sign in to comment.