summaryrefslogtreecommitdiff
path: root/tests/root/conf.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-19 10:31:15 +0100
committerGeorg Brandl <georg@python.org>2014-01-19 10:31:15 +0100
commit91cd11be3cc9e4eea53a664df722bf60d2f7418b (patch)
treebfa7571ce91ca4a5176bbef8cc3f8384469c6f32 /tests/root/conf.py
parent37b604e4cccceab0384bbeebdc659b6817cad70e (diff)
parenta8f65e9d3c8b3ffb16b0ad5004b420a60d1c6a60 (diff)
downloadsphinx-git-91cd11be3cc9e4eea53a664df722bf60d2f7418b.tar.gz
Merged in guibog/sphinx2 (pull request #184)
autodoc extension: add autodoc_mock_imports config value
Diffstat (limited to 'tests/root/conf.py')
-rw-r--r--tests/root/conf.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/root/conf.py b/tests/root/conf.py
index 3399043f9..cf88c2bb1 100644
--- a/tests/root/conf.py
+++ b/tests/root/conf.py
@@ -71,6 +71,13 @@ autosummary_generate = ['autosummary']
extlinks = {'issue': ('http://bugs.python.org/issue%s', 'issue '),
'pyurl': ('http://python.org/%s', None)}
+autodoc_mock_imports = [
+ 'missing_module',
+ 'missing_package1.missing_module1',
+ 'missing_package2.missing_module2',
+ 'missing_package3.missing_module3',
+]
+
# modify tags from conf.py
tags.add('confpytag')