From ae774e2bbf59e304e4abab65d8d539e823b393da Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Sun, 5 Oct 2025 14:09:10 +0200 Subject: [PATCH] [Docs] Use extension:filetype mapping in sphinx configuration 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 --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 1db1f332..47c8b487 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -53,7 +53,7 @@ # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # source_suffix = ['.rst', '.md'] -source_suffix = ".rst" +source_suffix = {".rst": "restructuredtext"} # Add dev disclaimer. if version_info[-1] == "dev":