File tree Expand file tree Collapse file tree 12 files changed +22
-17
lines changed
test-add_source_parser-conflicts-with-users-setting Expand file tree Collapse file tree 12 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ class DummyTestParser(Parser):
1111
1212
1313extensions = ['source_parser' ]
14- source_suffix = ['.rst' , '.test' ]
14+ source_suffix = {
15+ '.rst' : 'restructuredtext' ,
16+ '.test' : 'restructuredtext' ,
17+ }
1518source_parsers = {
1619 '.test' : DummyTestParser
1720}
Original file line number Diff line number Diff line change 55
66
77extensions = ['source_parser' ]
8- source_suffix = ['.rst' ]
Original file line number Diff line number Diff line change 55
66extensions = ['sphinx.ext.autosummary' ]
77
8- # The suffix of source filenames.
9- source_suffix = '.rst'
108autosummary_generate = True
119
1210exclude_patterns = ['_build' ]
Original file line number Diff line number Diff line change 1- source_suffix = '.txt'
1+ source_suffix = {
2+ '.txt' : 'restructuredtext'
3+ }
24exclude_patterns = ['_build' ]
Original file line number Diff line number Diff line change 55
66extensions = ['sphinx.ext.autodoc' ]
77
8- # The suffix of source filenames.
9- source_suffix = '.rst'
10-
118autodoc_mock_imports = [
129 'dummy'
1310]
Original file line number Diff line number Diff line change 55
66extensions = ['sphinx.ext.autosummary' ]
77autosummary_generate = True
8-
9- # The suffix of source filenames.
10- source_suffix = '.rst'
Original file line number Diff line number Diff line change 22
33project = 'test project for the doctest :skipif: directive'
44root_doc = 'skipif'
5- source_suffix = '.txt'
5+ source_suffix = {
6+ '.txt' : 'restructuredtext'
7+ }
68exclude_patterns = ['_build' ]
79
810doctest_global_setup = '''
Original file line number Diff line number Diff line change 22
33project = 'test project for doctest'
44root_doc = 'doctest'
5- source_suffix = '.txt'
5+ source_suffix = {
6+ '.txt' : 'restructuredtext'
7+ }
68exclude_patterns = ['_build' ]
Original file line number Diff line number Diff line change 44sys .path .insert (0 , os .path .abspath ('.' ))
55
66extensions = ['sphinx.ext.inheritance_diagram' ]
7- source_suffix = '.rst'
Original file line number Diff line number Diff line change 11project = 'Sphinx intl <Tests>'
2- source_suffix = '.txt'
2+ source_suffix = {
3+ '.txt' : 'restructuredtext'
4+ }
35keep_warnings = True
46templates_path = ['_templates' ]
57html_additional_pages = {'contents' : 'contents.html' }
You can’t perform that action at this time.
0 commit comments