Skip to content

Commit

Permalink
Refactor sphinx config and bump docs python version (#364)
Browse files Browse the repository at this point in the history
* fix [.readthedocs.yml] - increase python version

Fixes urllib3 v2.0 not supporting versions <1.1.1 of openSSL. See readthedocs/readthedocs.org#10290.

* fix [.readthedocs.yml] - set container image and python version

* unpin doc requirements
  • Loading branch information
sduquemesa committed May 9, 2023
1 parent 43757a9 commit d1b4922
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
15 changes: 7 additions & 8 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ version: 2
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:
- htmlzip

# Optionally set the version of Python and requirements required to build your docs
# Set the version of Python and container image
build:
os: ubuntu-22.04
tools:
python: "3.10"

# Set the requirements required to build your docs
python:
version: 3.8
install:
- requirements: docs/requirements.txt

build:
image: latest
8 changes: 4 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
docutils==0.16
docutils
sphinxcontrib-bibtex
sphinx==3.5.3
sphinx
ipykernel
nbsphinx==0.7
nbsphinx
numba>=0.49.1
numpy>=1.9
sympy>=1.5.1
scipy>=1.8.0
Jinja2==2.11.3
Jinja2
version_information
sphinx-copybutton
dask[delayed]
Expand Down

0 comments on commit d1b4922

Please sign in to comment.