mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 17:02:12 -05:00
Merge pull request #1919 from pkienzle/master
allow apidoc using 'python -m sphinx.apidoc'
This commit is contained in:
commit
990a375602
1 file changed
+4
@@ -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()
|
||||
Reference in new issue
Block a user