Skip to content

Commit e36c8f0

Browse files
committed
[Docs] Use extension:filetype mapping in sphinx configuration
This is possible since sphinx 1.8, and avoid the message: > "Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`" at docs build time. See https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-source_suffix
1 parent 64fcdc0 commit e36c8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
templates_path = ['_templates']
3939

4040
# The suffix of source filenames.
41-
source_suffix = '.rst'
41+
source_suffix = {".rst": "restructuredtext"}
4242

4343
# The encoding of source files.
4444
#source_encoding = 'utf-8-sig'

0 commit comments

Comments
 (0)