Skip to content

Commit

Permalink
fix rtd build
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay committed Oct 21, 2023
1 parent dfa5a49 commit 3fde02c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: install package deps
run: |
mamba install numpy scipy pytest pytest-cov codecov six sphinx
mamba install numpy scipy pytest pytest-cov codecov sphinx
pip install sphinx-sitemap sphinx-rtd-theme
- name: check install
Expand Down
20 changes: 20 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in with Sphinx
sphinx:
configuration: doc/source/conf.py

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "mambaforge-4.10"

# Optionally set the version of Python and requirements required to build your docs
conda:
environment: ci/environment.yml
12 changes: 12 additions & 0 deletions ci/environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: griddata_env
channels:
- conda-forge
dependencies:
- pip
- numpy>=1.21
- scipy
- mcrfile
- sphinx<7.0
- pip:
- sphinx-sitemap
- sphinx-rtd-theme

0 comments on commit 3fde02c

Please sign in to comment.