From 93520a98485f4c226cb9deab73718dfb27d6af9b Mon Sep 17 00:00:00 2001 From: Markus Neteler Date: Wed, 11 Dec 2019 15:07:59 +0100 Subject: [PATCH] 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 --- man/build_class.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/build_class.py b/man/build_class.py index c1ddcdbadd9..f2d00a84dee 100644 --- a/man/build_class.py +++ b/man/build_class.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # generates HTML man pages docs/html/.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 @@ 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: