Skip to content

Commit

Permalink
Update sphinx vesion to make it compatible with RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
enekomartinmartinez committed Nov 8, 2021
1 parent ebf22d2 commit 9126289
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# .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

python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,16 @@
],
install_requires=open('requirements.txt').read().strip().split('\n'),
tests_require=test_pckgs,
extras_require={"test": test_pckgs},
extras_require={
"test": test_pckgs,
"docs": [
# pin sphinx to match what RTD uses:
# https://github.com/readthedocs/readthedocs.org/blob/ecac31de54bbb2c100f933e86eb22b0f4389ba84/requirements/pip.txt#L16
'sphinx<2',
'sphinx-rtd-theme<0.5',
'docutils<0.18'
]
},
package_data={
'py_backend': [
'xmile/smile.grammar'
Expand Down

0 comments on commit 9126289

Please sign in to comment.