Skip to content

Commit

Permalink
docs: prevent build error by rolling back Sphinx version
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
daxtens authored and stephenfin committed Aug 23, 2021
1 parent c0bdc31 commit 65547c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 65547c8

Please sign in to comment.