summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2024-07-25 08:26:17 +0100
committernessita <124304+nessita@users.noreply.github.com>2024-08-23 11:15:16 -0300
commit0304f677ca32bc4f046e986a86844e4d03e7beea (patch)
tree538aaf97cf1355a81f1879dc436581e36a2b285c /docs/conf.py
parent046a354217b80d4e8d9b575843d72413886f6bac (diff)
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'}`
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index c36a9a2022..0c633397ac 100644
--- a/docs/conf.py
+++ b/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'