Commit 4bdef1b 1 parent 55c8953 commit 4bdef1b Copy full SHA for 4bdef1b
File tree 12 files changed +22
-17
lines changed
test-add_source_parser-conflicts-with-users-setting
12 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ class DummyTestParser(Parser):
11
11
12
12
13
13
extensions = ['source_parser' ]
14
- source_suffix = ['.rst' , '.test' ]
14
+ source_suffix = {
15
+ '.rst' : 'restructuredtext' ,
16
+ '.test' : 'restructuredtext' ,
17
+ }
15
18
source_parsers = {
16
19
'.test' : DummyTestParser
17
20
}
Original file line number Diff line number Diff line change 5
5
6
6
7
7
extensions = ['source_parser' ]
8
- source_suffix = ['.rst' ]
Original file line number Diff line number Diff line change 5
5
6
6
extensions = ['sphinx.ext.autosummary' ]
7
7
8
- # The suffix of source filenames.
9
- source_suffix = '.rst'
10
8
autosummary_generate = True
11
9
12
10
exclude_patterns = ['_build' ]
Original file line number Diff line number Diff line change 1
- source_suffix = '.txt'
1
+ source_suffix = {
2
+ '.txt' : 'restructuredtext'
3
+ }
2
4
exclude_patterns = ['_build' ]
Original file line number Diff line number Diff line change 5
5
6
6
extensions = ['sphinx.ext.autodoc' ]
7
7
8
- # The suffix of source filenames.
9
- source_suffix = '.rst'
10
-
11
8
autodoc_mock_imports = [
12
9
'dummy'
13
10
]
Original file line number Diff line number Diff line change 5
5
6
6
extensions = ['sphinx.ext.autosummary' ]
7
7
autosummary_generate = True
8
-
9
- # The suffix of source filenames.
10
- source_suffix = '.rst'
Original file line number Diff line number Diff line change 2
2
3
3
project = 'test project for the doctest :skipif: directive'
4
4
root_doc = 'skipif'
5
- source_suffix = '.txt'
5
+ source_suffix = {
6
+ '.txt' : 'restructuredtext'
7
+ }
6
8
exclude_patterns = ['_build' ]
7
9
8
10
doctest_global_setup = '''
Original file line number Diff line number Diff line change 2
2
3
3
project = 'test project for doctest'
4
4
root_doc = 'doctest'
5
- source_suffix = '.txt'
5
+ source_suffix = {
6
+ '.txt' : 'restructuredtext'
7
+ }
6
8
exclude_patterns = ['_build' ]
Original file line number Diff line number Diff line change 4
4
sys .path .insert (0 , os .path .abspath ('.' ))
5
5
6
6
extensions = ['sphinx.ext.inheritance_diagram' ]
7
- source_suffix = '.rst'
Original file line number Diff line number Diff line change 1
1
project = 'Sphinx intl <Tests>'
2
- source_suffix = '.txt'
2
+ source_suffix = {
3
+ '.txt' : 'restructuredtext'
4
+ }
3
5
keep_warnings = True
4
6
templates_path = ['_templates' ]
5
7
html_additional_pages = {'contents' : 'contents.html' }
Original file line number Diff line number Diff line change 1
1
project = 'Sphinx templating <Tests>'
2
- source_suffix = '.txt'
2
+ source_suffix = {
3
+ '.txt' : 'restructuredtext'
4
+ }
3
5
keep_warnings = True
4
6
templates_path = ['_templates' ]
5
7
release = version = '2013.120'
Original file line number Diff line number Diff line change 1
1
project = 'versioning test root'
2
- source_suffix = '.txt'
2
+ source_suffix = {
3
+ '.txt' : 'restructuredtext'
4
+ }
3
5
exclude_patterns = ['_build' ]
You can’t perform that action at this time.
0 commit comments