From f7ab436883c44c291b362c8845f980a8a194dd7b Mon Sep 17 00:00:00 2001 From: Christoph Ladurner Date: Thu, 9 Jun 2022 12:08:15 +0200 Subject: [PATCH] fix docs compatibilty problem with Sphinx>=5.0.0 --- docs/conf.py | 3 ++- setup.cfg | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 0149acb8..d49dea3f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # # Copyright (C) 2020 CERN. +# Copyright (C) 2022 Graz University of Technology. # # Invenio-Vocabularies is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see LICENSE file for more @@ -69,7 +70,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" # 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 0901a008..88ca22c6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,7 +37,7 @@ tests = invenio-app>=1.3.3 invenio-db[postgresql,mysql,versioning]>=1.0.14,<2.0.0 pytest-invenio>=1.4.11 - Sphinx>=3,<4 + Sphinx>=4.5 elasticsearch6 = invenio-search[elasticsearch6]>=1.4.2,<2.0 elasticsearch7 =