Skip to content

Commit 65547c8

Browse files
daxtensstephenfin
authored andcommitted
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: <openapi>:1:Problem in http domain: field is supposed to use role 'obj', but that role is not in the domain. See sphinx-contrib/httpdomain#51 Until it's fixed, hold back the Sphinx version to < 4.1.0 Signed-off-by: Daniel Axtens <[email protected]> Reviewed-by: Stephen Finucane <[email protected]>
1 parent c0bdc31 commit 65547c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
sphinx>=2.0
1+
# sphinx 4.1.x breaks sphinxcontrib-httpdomain which sphinxcontrib-openapi depends on
2+
# see https://github.com/sphinx-contrib/httpdomain/pull/51
3+
sphinx>=2.0,<4.1
24
reno>=2.2
35
sphinx_rtd_theme~=0.5.0
46
jinja2~=2.11.2

0 commit comments

Comments
 (0)