tests/roots/test-ext-doctest-skipif/conf.py
raw| 1 | extensions = ['sphinx.ext.doctest'] |
| 2 | |
| 3 | project = 'test project for the doctest :skipif: directive' |
| 4 | root_doc = 'skipif' |
| 5 | source_suffix = { |
| 6 | '.txt': 'restructuredtext', |
| 7 | } |
| 8 | exclude_patterns = ['_build'] |
| 9 | |
| 10 | doctest_global_setup = """ |
| 11 | from tests.test_extensions.test_ext_doctest import record |
| 12 | |
| 13 | record('doctest_global_setup', 'body', True) |
| 14 | """ |
| 15 | |
| 16 | doctest_global_cleanup = """ |
| 17 | record('doctest_global_cleanup', 'body', True) |
| 18 | """ |