From 8b8699311c763e16f290868dfa807f4221586154 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Tue, 21 Jun 2022 21:41:54 -0700 Subject: [PATCH] Specify `language` as `'en'` instead of `None` (#1059) Needed for Sphinx 5 compatibility. Should fix the following warning occurring in doc builds. ``` Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). ``` xref: https://github.com/sphinx-doc/sphinx/pull/10481 Authors: - https://github.com/jakirkham - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) URL: https://github.com/rapidsai/rmm/pull/1059 --- python/docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/docs/conf.py b/python/docs/conf.py index d0fd76924..ebb24dbf3 100644 --- a/python/docs/conf.py +++ b/python/docs/conf.py @@ -78,7 +78,7 @@ # # 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" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files.