From: Daniel Axtens Date: Mon, 23 Aug 2021 06:48:59 +0000 (+1000) Subject: docs: prevent build error by rolling back Sphinx version X-Git-Tag: v3.1.0~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65547c8701004f1a2a9ed9d16f1a372f4bd856e4;p=thirdparty%2Fpatchwork.git docs: prevent build error by rolling back Sphinx version We're hitting a sphinxcontrib-httpdomain vs sphinx issue that was causing the openapi part of doc builds to error out with: :1:Problem in http domain: field is supposed to use role 'obj', but that role is not in the domain. See https://github.com/sphinx-contrib/httpdomain/pull/51 Until it's fixed, hold back the Sphinx version to < 4.1.0 Signed-off-by: Daniel Axtens Reviewed-by: Stephen Finucane --- diff --git a/docs/requirements.txt b/docs/requirements.txt index e2641c8f..b60bca53 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,6 @@ -sphinx>=2.0 +# sphinx 4.1.x breaks sphinxcontrib-httpdomain which sphinxcontrib-openapi depends on +# see https://github.com/sphinx-contrib/httpdomain/pull/51 +sphinx>=2.0,<4.1 reno>=2.2 sphinx_rtd_theme~=0.5.0 jinja2~=2.11.2