Skip to content

Commit

Permalink
Request specific sphinx version otherwise RTD build fails. Use readth…
Browse files Browse the repository at this point in the history
…edocs.yml to request python version
  • Loading branch information
bennylp committed Feb 28, 2020
1 parent 7141b68 commit d9226f5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: requirements.txt

submodules:
include: all
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx
sphinx>=2.4.3
breathe>=4.14.1
sphinx-rtd-theme
breathe

0 comments on commit d9226f5

Please sign in to comment.