Skip to content

Commit

Permalink
fix building of docs on ReadTheDocs by pinning to old Sphinx/docutils…
Browse files Browse the repository at this point in the history
… version (cfr. sphinx-doc/sphinx#9811)
  • Loading branch information
boegel committed Nov 9, 2021
1 parent 82aefac commit a182481
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# version of configuration file (required)
version: 2

# Build from the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# also build docs in PDF format
formats: [pdf]

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
docutils<0.18
sphinx==1.8.5

0 comments on commit a182481

Please sign in to comment.