From 281926b250029bd8583178d6c334f9ab8cd0f8b9 Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 20 Oct 2003 17:13:40 +0000 Subject: [PATCH] Updated the class names for the table rows --- docs/plugins/supybot.css | 6 +++--- tools/generate-plugin-documentation.py | 8 ++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/plugins/supybot.css b/docs/plugins/supybot.css index 2da72e2f4..814ee5bb4 100644 --- a/docs/plugins/supybot.css +++ b/docs/plugins/supybot.css @@ -29,10 +29,10 @@ pre { white-space:normal; } -.lightyellow { +.treven { background:aliceblue; } -.lightgreen { +.trodd { background:white; -} \ No newline at end of file +} diff --git a/tools/generate-plugin-documentation.py b/tools/generate-plugin-documentation.py index da902bf23..7cf9b4446 100755 --- a/tools/generate-plugin-documentation.py +++ b/tools/generate-plugin-documentation.py @@ -40,14 +40,18 @@ import textwrap import traceback import conf +conf.dataDir = 'test-data' +conf.confDir = 'test-conf' +conf.logDir = 'test-log' + import debug import callbacks def makePluginDocumentation(filename): print 'Generating documentation for %s' % filename - trClasses = { 'lightyellow':'lightgreen', 'lightgreen':'lightyellow' } - trClass = 'lightyellow' + trClasses = { 'treven':'trodd', 'trodd':'treven' } + trClass = 'treven' pluginName = filename.split('.')[0] moduleInfo = imp.find_module(pluginName, conf.pluginDirs) module = imp.load_module(pluginName, *moduleInfo)