Skip to content

Commit e3f97c5

Browse files
authored
[Docs] Use extension:filetype mapping in sphinx configuration (#443)
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\#confv
1 parent ad6b4ae commit e3f97c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# The suffix(es) of source filenames.
5252
# You can specify multiple suffix as a list of string:
5353
# source_suffix = ['.rst', '.md']
54-
source_suffix = ".rst"
54+
source_suffix = {".rst": "restructuredtext"}
5555

5656
# The encoding of source files.
5757
# source_encoding = 'utf-8-sig'

0 commit comments

Comments
 (0)