diff options
| author | Rob Ruana <rob@relentlessidiot.com> | 2014-01-19 12:31:07 -0500 |
|---|---|---|
| committer | Rob Ruana <rob@relentlessidiot.com> | 2014-01-19 12:31:07 -0500 |
| commit | a8b06aa17015396b9bd5accb5cca4644f69f307d (patch) | |
| tree | d38b9d2e011dccc1a319674799b499b2f31ffece /tests/root | |
| parent | 49b952d84136ef89132de8d48b4b937b816f0c22 (diff) | |
| parent | 2a8cf7c7781a4554adbcb4bae6bec2a40bfc156d (diff) | |
| download | sphinx-a8b06aa17015396b9bd5accb5cca4644f69f307d.tar.gz | |
Merged birkenfeld/sphinx into default
Diffstat (limited to 'tests/root')
| -rw-r--r-- | tests/root/autodoc.txt | 2 | ||||
| -rw-r--r-- | tests/root/autodoc_missing_imports.py | 9 | ||||
| -rw-r--r-- | tests/root/conf.py | 8 |
3 files changed, 18 insertions, 1 deletions
diff --git a/tests/root/autodoc.txt b/tests/root/autodoc.txt index d4b3404c..aa0dffba 100644 --- a/tests/root/autodoc.txt +++ b/tests/root/autodoc.txt @@ -45,3 +45,5 @@ Just testing a few autodoc possibilities... :members: ca1, ia1 Specific members (2 total) + +.. automodule:: autodoc_missing_imports diff --git a/tests/root/autodoc_missing_imports.py b/tests/root/autodoc_missing_imports.py new file mode 100644 index 00000000..7a717345 --- /dev/null +++ b/tests/root/autodoc_missing_imports.py @@ -0,0 +1,9 @@ + +import missing_module +from missing_module import missing_name +import missing_package1.missing_module1 +from missing_package2 import missing_module2 +from missing_package3.missing_module3 import missing_name + +class TestAutodoc(object): + """TestAutodoc docstring.""" diff --git a/tests/root/conf.py b/tests/root/conf.py index 9cc536ba..af984e5e 100644 --- a/tests/root/conf.py +++ b/tests/root/conf.py @@ -23,7 +23,6 @@ copyright = '2010, Georg Brandl & Team' version = '0.6' release = '0.6alpha1' today_fmt = '%B %d, %Y' -# unused_docs = [] exclude_patterns = ['_build', '**/excluded.*'] keep_warnings = True pygments_style = 'sphinx' @@ -71,6 +70,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') |
