From acc1ec4fc41b99c913b939b0178891bb7cd33aa9 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Wed, 8 Oct 2025 06:37:09 -0500 Subject: [PATCH] Address a type-conversion noted during doc builds Doc builds show the following output: ``` Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. ``` This is addressed by upgrading `source_suffix` to a dict in `conf.py`. --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 51e2f08cb..a32bf2fb0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,8 @@ company, name = "tox-dev", "tox" release, version = __version__, ".".join(__version__.split(".")[:2]) copyright = f"{company}" # noqa: A001 -master_doc, source_suffix = "index", ".rst" +master_doc = "index" +source_suffix = {".rst": "restructuredtext"} html_theme = "furo" html_title, html_last_updated_fmt = "tox", "%Y-%m-%dT%H:%M:%S"