1.1 --- a/simplify/viewer.py Sat Jun 23 01:57:13 2007 +0200
1.2 +++ b/simplify/viewer.py Sat Jun 23 21:10:01 2007 +0200
1.3 @@ -1302,11 +1302,11 @@
1.4 finally:
1.5 stream.close()
1.6
1.7 -def makedocs(module, modules, builtins, distinct=0):
1.8 - dirname = "%s-docs" % module.name
1.9 +def makedocs(filename, modules, distinct=0):
1.10 + dirname = "%s-docs" % os.path.split(os.path.splitext(filename)[0])[-1]
1.11 if not os.path.exists(dirname):
1.12 os.mkdir(dirname)
1.13 - for m in [module, builtins] + modules:
1.14 + for m in modules:
1.15 makedoc(m, os.path.join(dirname, "%s%sxhtml" % (m.name, os.path.extsep)))
1.16 makesummary(m, os.path.join(dirname, "%s%s%sxhtml" % (m.name, "-summary", os.path.extsep)), distinct=distinct)
1.17