Merge pull request #1919 from pkienzle/master

allow apidoc using 'python -m sphinx.apidoc'
This commit is contained in:
Georg Brandl
2015-07-24 16:02:39 +02:00
+4
View File
@@ -373,3 +373,7 @@ Note: By default this script will not overwrite already created files.""")
qs.generate(d, silent=True, overwrite=opts.force)
elif not opts.notoc:
create_modules_toc_file(modules, opts)
# So program can be started with "python -m sphinx.apidoc ..."
if __name__ == "__main__":
main()