From 362dcf7079725abf792d65a4df10a2c6b0a07753 Mon Sep 17 00:00:00 2001 From: Phillip Shiu Date: Thu, 9 Jun 2022 09:47:51 -0400 Subject: [PATCH] fix: set sphinx language to 'en' sphinx-quickstart previously generated `language = None` by default. As of Sphinx version 5, language will default to en. For proof this is happening, see note on https://github.com/sphinx-doc/sphinx/blob/e1bf4dd5d5860a4c3790f41c5f5fe389dc5b4cf9/sphinx/config.py#L167-L174. For context on why this is happening, see https://github.com/sphinx-doc/sphinx/issues/10474. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 8c9c25bb..ced56a49 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -125,7 +125,7 @@ def get_version(*file_paths): # # 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: