1.1 --- a/viewer.py Wed Dec 06 23:54:48 2006 +0100
1.2 +++ b/viewer.py Fri Dec 08 23:41:20 2006 +0100
1.3 @@ -862,11 +862,11 @@
1.4 finally:
1.5 stream.close()
1.6
1.7 -def makedocs(module, builtins):
1.8 +def makedocs(module, modules, builtins):
1.9 dirname = "%s-docs" % module.name
1.10 if not os.path.exists(dirname):
1.11 os.mkdir(dirname)
1.12 - makedoc(module, os.path.join(dirname, "%s%shtml" % (module.name, os.path.extsep)))
1.13 - makedoc(builtins, os.path.join(dirname, "%s%shtml" % (builtins.name, os.path.extsep)))
1.14 + for m in [module, builtins] + modules:
1.15 + makedoc(m, os.path.join(dirname, "%s%shtml" % (m.name, os.path.extsep)))
1.16
1.17 # vim: tabstop=4 expandtab shiftwidth=4