Skip to content

Commit

Permalink
Merge pull request #211 from pyswmm/bugfix/210
Browse files Browse the repository at this point in the history
fix readthedocs build configuration
  • Loading branch information
aerispaha authored Nov 22, 2023
2 parents 0c52df7 + df30219 commit 9f7af61
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .readthedocs.yml → .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Required
version: 2

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

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
Expand All @@ -15,13 +20,11 @@ sphinx:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
- method: setuptools
path: .
system_packages: true

submodules:
include: all
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
commonmark==0.9.1
Jinja2<3.1
m2r
mistune==0.8.4
recommonmark==0.6.0
Sphinx==3.2.1
sphinx-rtd-theme==0.5.0
Expand Down
7 changes: 2 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Build dependencies
#python
pytest
pillow>=6.2.0,<10.0.0
numpy>=1.16.4
Expand All @@ -8,11 +7,9 @@ pyshp==2.1.0
geojson==2.5.0
networkx>=2.3
pyyaml>=3.12
recommonmark
m2r
mistune==0.8.4

# Run dependencies
pyproj>=3.0.0
geopandas
matplotlib
pyswmm>=1.2
pyswmm>=1.2

0 comments on commit 9f7af61

Please sign in to comment.