sphinx/tests/roots/test-ext-doctest-skipif/conf.py
Takeshi KOMIYA 3059a999b2 Close #8326: Rename master_doc to root_doc
To describe the purpose more accurately, the `master_doc` is now renamed
to `root_doc`.  The old name is still available.  But it is recommeneded
to use new one from now on.
2021-02-28 17:10:57 +09:00

17 lines
371 B
Python

extensions = ['sphinx.ext.doctest']
project = 'test project for the doctest :skipif: directive'
root_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)
'''