diff options
| author | georg.brandl <devnull@localhost> | 2008-09-13 09:45:59 +0000 |
|---|---|---|
| committer | georg.brandl <devnull@localhost> | 2008-09-13 09:45:59 +0000 |
| commit | aba05cd9175def8b13b85262b0a70fe545b849f2 (patch) | |
| tree | 9bd78d12dd1b69636d94316792697867dfd9a986 /tests/root/conf.py | |
| parent | 46fb6e148235735b0af07cbb8d101e39120fef42 (diff) | |
| download | sphinx-aba05cd9175def8b13b85262b0a70fe545b849f2.tar.gz | |
Add test for coverage builder and fix an AttributeError in it.
Diffstat (limited to 'tests/root/conf.py')
| -rw-r--r-- | tests/root/conf.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/root/conf.py b/tests/root/conf.py index 5fbbe49b..f8142205 100644 --- a/tests/root/conf.py +++ b/tests/root/conf.py @@ -23,7 +23,7 @@ sys.path.append(os.path.abspath('.')) # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['ext', 'sphinx.ext.autodoc', 'sphinx.ext.jsmath'] +extensions = ['ext', 'sphinx.ext.autodoc', 'sphinx.ext.jsmath', 'sphinx.ext.coverage'] jsmath_path = 'dummy.js' # Add any paths that contain templates here, relative to this directory. @@ -172,6 +172,9 @@ latex_documents = [ value_from_conf_py = 84 +coverage_c_path = ['special/*.h'] +coverage_c_regexes = {'cfunction': r'^PyAPI_FUNC\(.*\)\s+([^_][\w_]+)'} + def setup(app): app.add_config_value('value_from_conf_py', 42, False) |
