Browse Source

Updated Sphinx source_suffix setting to use a mapping.

Since Sphinx 1.8 this setting should be a mapping of file extensions to
file types. Before this change, Sphinx 8+ would show the following  when
building docs:

Converting `source_suffix = '.txt'` to `source_suffix = {'.txt': 'restructuredtext'}`
David Smith 8 months ago
parent
commit
0304f677ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/conf.py

+ 1 - 1
docs/conf.py

@@ -94,7 +94,7 @@ spelling_warning = True
 # templates_path = []
 
 # The suffix of source filenames.
-source_suffix = ".txt"
+source_suffix = {".txt": "restructuredtext"}
 
 # The encoding of source files.
 # source_encoding = 'utf-8-sig'