[GRASS-SVN] r59681 - in grass/trunk: man tools
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Apr 11 00:58:18 PDT 2014
Author: neteler
Date: 2014-04-11 00:58:18 -0700 (Fri, 11 Apr 2014)
New Revision: 59681
Modified:
grass/trunk/man/grassdocs.css
grass/trunk/tools/mkhtml.py
Log:
layout cosmetics for toc for manuals
Modified: grass/trunk/man/grassdocs.css
===================================================================
--- grass/trunk/man/grassdocs.css 2014-04-11 06:35:34 UTC (rev 59680)
+++ grass/trunk/man/grassdocs.css 2014-04-11 07:58:18 UTC (rev 59681)
@@ -95,7 +95,9 @@
top: 5px;
right: 5px;
width: 17%;
+ line-height: 110%;
font-weight: bold;
+ font-size: small;
font-family: arial,sans-serif;
}
Modified: grass/trunk/tools/mkhtml.py
===================================================================
--- grass/trunk/tools/mkhtml.py 2014-04-11 06:35:34 UTC (rev 59680)
+++ grass/trunk/tools/mkhtml.py 2014-04-11 07:58:18 UTC (rev 59681)
@@ -101,7 +101,7 @@
fd.write('<table class="toc">\n')
for tag, href, text in data:
fd.write('<tr><td>%s <a href="#%s" class="toc">%s</a></td></tr>\n' % \
- (' ' if tag == 'h3' else '', href, text))
+ (' ' if tag == 'h3' else '', href, text))
fd.write('</table>\n')
def update_toc(data):
More information about the grass-commit
mailing list