From 3b6d79fc0be9081bdf054fd8a9e9238aba0a8e56 Mon Sep 17 00:00:00 2001 From: Terseus Date: Tue, 1 Nov 2022 01:22:28 +0100 Subject: [PATCH] Prevent Sphinx warning about language = None Since version 5.x Sphinx triggers a warning when `language = None`, this caused `tox -e docs` to fail. Set it to "en". See https://github.com/sphinx-doc/sphinx/pull/10481 --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 94e6d8a..a3ffd5e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -94,7 +94,7 @@ version = release = find_version("..", "vcr", "__init__.py") # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: