Skip to content

Commit

Permalink
Fix readthedocs building and requirements (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
haleepfl committed Mar 31, 2020
1 parent 600d638 commit f20ebe3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
# Required
version: 2

sphinx:
fail_on_warning: true

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- docs
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ def __init__(self, *args, **kwargs):
'click>=7.0',
'pathlib2>=2.3',
],
extras_require={
'docs': ['sphinx', 'sphinx_rtd_theme'],
},
packages=find_packages(),
use_scm_version=True,
setup_requires=[
Expand Down

0 comments on commit f20ebe3

Please sign in to comment.