summaryrefslogtreecommitdiff
path: root/sphinx/apidoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/apidoc.py')
-rw-r--r--sphinx/apidoc.py1
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,