mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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.
17 lines
371 B
Python
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)
|
|
'''
|