2018-08-16 13:22:59 +03:00
|
|
|
extensions = ['sphinx.ext.doctest']
|
|
|
|
|
|
|
|
|
|
project = 'test project for the doctest :skipif: directive'
|
2020-11-25 00:50:36 +09:00
|
|
|
root_doc = 'skipif'
|
2018-08-16 13:22:59 +03:00
|
|
|
source_suffix = '.txt'
|
|
|
|
|
exclude_patterns = ['_build']
|
|
|
|
|
|
|
|
|
|
doctest_global_setup = '''
|
2020-11-20 19:04:26 +01:00
|
|
|
from tests.test_ext_doctest import record
|
2018-08-16 17:56:29 +03:00
|
|
|
|
|
|
|
|
record('doctest_global_setup', 'body', True)
|
2018-08-16 14:09:06 +03:00
|
|
|
'''
|
2018-08-16 17:56:29 +03:00
|
|
|
|
|
|
|
|
doctest_global_cleanup = '''
|
|
|
|
|
record('doctest_global_cleanup', 'body', True)
|
2019-01-02 16:00:30 +09:00
|
|
|
'''
|