From: Shivani Bhardwaj Date: Fri, 12 Aug 2022 09:46:14 +0000 (+0530) Subject: doc/conf: fix sphinx language setting X-Git-Tag: suricata-6.0.7~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7806%2Fhead;p=thirdparty%2Fsuricata.git doc/conf: fix sphinx language setting sphinx-build 5.1.1 and above throws a warning which is treated as an error while building. Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). (cherry picked from commit 2c4d6b33aec856e7836136a0f97d05de794f0ec0) --- diff --git a/doc/userguide/conf.py b/doc/userguide/conf.py index 1474dd87af..47fec8ec6c 100644 --- a/doc/userguide/conf.py +++ b/doc/userguide/conf.py @@ -80,7 +80,7 @@ release = version # # 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: