aports/testing/py3-plexapi/0001-sphinx-language.patch
2023-05-01 18:23:55 +02:00

25 lines
799 B
Diff

From 8ef94559f208c9176e2c88c6986a888b300e617e Mon Sep 17 00:00:00 2001
From: Fabricio Silva <hi@fabricio.dev>
Date: Fri, 7 Apr 2023 10:28:07 +0100
Subject: [PATCH] Specify language for docs
Since sphinx 5.0, None is not valid language value
---
docs/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index ae34744..eb7d3df 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -86,7 +86,7 @@ version = plexapi.VERSION
# for a list of supported languages.
# 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: