changeset 3745:08dd5b1a1f1c

wiki config help macro: add id to headings so TOC can pick them up
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sun, 22 Jun 2008 00:05:08 +0200
parents 1eabe89b773b
children 510db268574b
files MoinMoin/macro/WikiConfigHelp.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/WikiConfigHelp.py	Sat Jun 21 23:58:54 2008 +0200
+++ b/MoinMoin/macro/WikiConfigHelp.py	Sun Jun 22 00:05:08 2008 +0200
@@ -23,7 +23,7 @@
     for groupname, addgroup, optsdict in groups:
         heading, desc, opts = optsdict[groupname]
         ret.extend([
-            f.heading(1, 1),
+            f.heading(1, 1, id=groupname),
             ## XXX: translate description?
             f.text(heading),
             f.heading(0, 1),