Skip to content

Commit

Permalink
Merge pull request #240 from European-XFEL/rtd-cfg-update
Browse files Browse the repository at this point in the history
Update RTD config file to v2
  • Loading branch information
takluyver authored Aug 21, 2023
2 parents 1669418 + bbbc84e commit 82ffdc5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
16 changes: 16 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2 # Required

build:
os: ubuntu-22.04
tools:
python: "3.10"

sphinx:
configuration: docs/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs
5 changes: 0 additions & 5 deletions readthedocs.yml

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ def find_version(*parts):
extras_require={
'interpolate': ['scipy'],
'docs': [
'sphinx',
'sphinx >=4.3', # Minimum version for Python 3.10
'nbsphinx',
'ipython', # For nbsphinx syntax highlighting
'sphinxcontrib_github_alt',
'sphinx-rtd-theme',
'sphinx-rtd-theme >=1.2',
# Pin Jinja2 until https://github.com/jupyter/nbconvert/issues/1736 fixed
'Jinja2<3.1.0'
],
Expand Down

0 comments on commit 82ffdc5

Please sign in to comment.