diff options
author | Georg Brandl <georg@python.org> | 2011-10-07 19:17:48 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-10-07 19:17:48 +0200 |
commit | be5dac74a36fbd56b5ed7b84e3c3dc43edb10aad (patch) | |
tree | ddb157a67f2c090236a0ec85be22339b5769e2ba /sphinx/apidoc.py | |
parent | 38ebe67c4e934c9cfd663a0f2c2e21e8c84d29a5 (diff) | |
download | sphinx-git-be5dac74a36fbd56b5ed7b84e3c3dc43edb10aad.tar.gz |
Activate the viewcode extension in the automatically generated apidoc project.
Diffstat (limited to 'sphinx/apidoc.py')
-rw-r--r-- | sphinx/apidoc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/apidoc.py b/sphinx/apidoc.py index 5b6163ddd..0885dc456 100644 --- a/sphinx/apidoc.py +++ b/sphinx/apidoc.py @@ -301,6 +301,7 @@ Note: By default this script will not overwrite already created files.""") master = 'index', epub = True, ext_autodoc = True, + ext_viewcode = True, makefile = True, batchfile = True, mastertocmaxdepth = opts.maxdepth, |