Skip to content

Commit

Permalink
DOC: fix / consolidate the readthedocs configuration (#1397)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed May 31, 2022
1 parent a31de76 commit 1af43fd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 27 deletions.
9 changes: 5 additions & 4 deletions .readthedocs.yml
Expand Up @@ -5,15 +5,16 @@
# Required
version: 2

build:
os: "ubuntu-20.04"
tools:
python: "mambaforge-4.10"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
fail_on_warning: true

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats:
- pdf
Expand Down
3 changes: 0 additions & 3 deletions docs/conf.py
Expand Up @@ -18,9 +18,6 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.append(os.path.abspath('sphinxext'))

# Load latest source tree
sys.path.insert(0, os.path.abspath('..'))

import shapely

# For pyplots in code/, load functions here first, so they are visible
Expand Down
14 changes: 7 additions & 7 deletions docs/environment.yml
@@ -1,10 +1,10 @@
name: pygeos
name: shapely_docs
channels:
- defaults
- conda-forge
dependencies:
- python==3.8.*
- geos==3.8.*
- numpy==1.19.*
- python=3.10
- geos=3.10
- numpy
- cython
- numpydoc==1.1.*
- Cython==0.29.*
- docutils==0.16.*
- matplotlib
8 changes: 0 additions & 8 deletions environment.yml

This file was deleted.

5 changes: 0 additions & 5 deletions readthedocs.yml

This file was deleted.

0 comments on commit 1af43fd

Please sign in to comment.