Skip to content

Commit

Permalink
docs: convert source_suffix to map
Browse files Browse the repository at this point in the history
Since sphinx-doc 1.8.0 the source_suffix list is replaced by a map.
In sphinx 3.0 this is still automatically converted, but results in a
warning. Hence, switch to the new format.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
fmoessbauer authored and jan-kiszka committed Jan 21, 2025
1 parent fc7ddb1 commit 076564c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = ['.rst']
source_suffix = {'.rst': 'restructuredtext'}

# The encoding of source files.
#
Expand Down

0 comments on commit 076564c

Please # to comment.