From 47f343d386075bf0441deadfa2cb35474c1fa335 Mon Sep 17 00:00:00 2001
From: Maximilian Moser <maximilian.moser@tuwien.ac.at>
Date: Wed, 9 Nov 2022 16:50:01 +0100
Subject: [PATCH] Fix docs compatibility problem with sphinx 5+

---
 docs/conf.py | 4 ++--
 setup.cfg    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 8dc911e..d91d516 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020 - 2021 TU Wien.
+# Copyright (C) 2020-2022 TU Wien.
 #
 # Invenio-Utilities-TUW is free software; you can redistribute it and/or
 # modify it under the terms of the MIT License; see LICENSE file for more
@@ -64,7 +64,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:
diff --git a/setup.cfg b/setup.cfg
index 4c48f55..83977fa 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -41,7 +41,7 @@ install_requires =
 tests =
     pytest-black>=0.3.0,<0.3.10
     pytest-invenio>=1.4.0
-    Sphinx>=4.2.0
+    sphinx>=4.5
 # Kept for backwards compatibility
 docs =
 
-- 
GitLab