Files
sphinx/tests/roots/test-ext-doctest-skipif/conf.py
François Freitag 419e145e36 Make tests/ a Python package
Allows relative imports.
2020-11-20 19:43:02 +01:00

17 lines
373 B
Python

extensions = ['sphinx.ext.doctest']
project = 'test project for the doctest :skipif: directive'
master_doc = 'skipif'
source_suffix = '.txt'
exclude_patterns = ['_build']
doctest_global_setup = '''
from tests.test_ext_doctest import record
record('doctest_global_setup', 'body', True)
'''
doctest_global_cleanup = '''
record('doctest_global_cleanup', 'body', True)
'''