Skip to content

Commit

Permalink
Fix documentation build on readthedocs (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewyh committed Apr 26, 2020
1 parent 971993a commit 187f234
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- docs
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ install_requires =
numpy
scipy

[options.extras_require]
docs = sphinx>2.0.0

[pycodestyle]
# E203: Whitespace before ':'
# W503: Line break before binary operator
Expand Down

0 comments on commit 187f234

Please sign in to comment.