0
0
mirror of https://github.com/django/django.git synced 2024-11-24 11:48:10 +01:00

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'}`
This commit is contained in:
David Smith 2024-07-25 08:26:17 +01:00 committed by nessita
parent 046a354217
commit 0304f677ca

View File

@ -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'