diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2022-06-21 10:40:28 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-11-03 17:09:25 +0000 |
commit | afc69c1cfb0aee7ac00b3675dacbf6584399c55c (patch) | |
tree | f2e16bb069dc69cf67c2cc644f559aca93c95f35 | |
parent | 6e8ae10c144821943032c93488999852ed5721ce (diff) | |
download | mesa-afc69c1cfb0aee7ac00b3675dacbf6584399c55c.tar.gz |
docs: set language to english
It seems recent versions of Sphinx has started issuing a warning when
language isn't set to a recognized value. Since we're building with
warnings as errors on CI, this causes issues for people.
We're writing English docs, so we should set this to English. I probably
confused this setting with the highlight_language setting or something
when I set this up initially.
Fixes: 00cd1346bf0 ("docs: use sphinx")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6711
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19501>
-rw-r--r-- | docs/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index ba789390467..c36fdc0c14f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,7 +74,7 @@ release = 'latest' # # 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. |