Skip to content

Commit

Permalink
Update RTD config
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Sep 8, 2023
1 parent 584b3bd commit 4a61ef1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
18 changes: 12 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
# - https://docs.readthedocs.io/en/latest/config-file/v2.html
version: 2

# python version
python:
version: 3
system_packages: true
install:
- requirements: docs-requirements.txt
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation with Sphinx
sphinx:
builder: html
configuration: docs/source/conf.py

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs-requirements.txt
2 changes: 2 additions & 0 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Add your pinned requirements for building docs (exclude any packages which can safely be
# mocked in docs/conf.py
m2r2
numpy
pandas
2 changes: 0 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def __getattr__(cls, name):

mock_modules = [
"geopandas",
"numpy",
"pandas",
"shapely",
"shapely.errors",
"shapely.geometry",
Expand Down

0 comments on commit 4a61ef1

Please sign in to comment.