Skip to content

Commit

Permalink
Fix build for RTD.
Browse files Browse the repository at this point in the history
This resolves the build problems due to sphinx-doc/sphinx#9727 we've
been seeing. RTD seems to by default run a <sphinx-2.0 which conflicts
with newer docutils.

Since we usually install sphinx from the system for building the docs
instead pin docutils in the docs requirements file which is parsed by
RTD.
  • Loading branch information
bbannier committed Nov 4, 2021
1 parent deac959 commit 82dd537
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Pin docutils as a workaround for https://github.com/sphinx-doc/sphinx/issues/9727.
docutils = "<0.18"

0 comments on commit 82dd537

Please sign in to comment.