From 07c970e0d11a87ac5e7659f30d99f520b3503e13 Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Sun, 5 Oct 2025 16:40:01 +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#confval-source_suffix --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 032bedb..e097203 100644 --- a/conf.py +++ b/conf.py @@ -33,7 +33,7 @@ templates_path = ['_templates'] # The suffix of source filenames. -source_suffix = '.rst' +source_suffix = {".rst": "restructuredtext"} # The encoding of source files. #source_encoding = 'utf-8-sig'