From a82bdaaa4d3ace598abf712c7550bf546dec3934 Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 18 Nov 2004 02:50:52 +0000 Subject: [PATCH] Better checking for what a command is so we don't generate documentation for Regexp/RegexpCommands --- tools/generate-plugin-documentation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/generate-plugin-documentation.py b/tools/generate-plugin-documentation.py index c0bc7cdeb..2de9c5366 100755 --- a/tools/generate-plugin-documentation.py +++ b/tools/generate-plugin-documentation.py @@ -210,8 +210,8 @@ def makePluginDocumentation(pluginWindow): deprecated, genNavbar('../../'), pluginName))) - attrs = [x for x in dir(plugin) if plugin.isCommand(x) and not - x.startswith('_')] + attrs = [x for x in dir(plugin) if plugin.isCommand(x) and + callbacks.canonicalName(x) == x] id.write('(%s)
\n' % ', '.join(attrs)) for attr in attrs: if attr in commandDict: