diff --git a/tools/generate-plugin-documentation.py b/tools/generate-plugin-documentation.py index 2d7c12e26..40b977304 100755 --- a/tools/generate-plugin-documentation.py +++ b/tools/generate-plugin-documentation.py @@ -240,10 +240,11 @@ def makePluginDocumentation(pluginWindow): pluginconf = conf.supybot.plugins.get(pluginName) fd.write(textwrap.dedent( '''
- + + ''' % pluginName)) trClass = trClasses[trClass] for config in [(c[0], c[1]) for c in\ @@ -256,9 +257,9 @@ def makePluginDocumentation(pluginWindow): help = cgi.escape(help) trClass = trClasses[trClass] fd.write(textwrap.dedent(''' - + - ''' % (trClass, name, name, default, help))) + ''' % (trClass, name, default, config[1].channelValue, help))) except registry.NonExistentRegistryEntry: pass fd.write('
Configuration Variables for %s
Configuration Variables for %s
Config Var Default ValueChannel Specific Help
%s%s
%s%s%s %s
\n')