Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .readthedocs.yml build config #550

Merged
merged 3 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@
# Required
version: 2

# Set the build OS and any other tools needed
build:
os: ubuntu-22.04
tools:
python: "3.10"

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

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

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: eqcorrscan/doc/requirements.txt
- requirements: requirements.txt
Expand Down
4 changes: 3 additions & 1 deletion eqcorrscan/doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
matplotlib
mock
# Note that mock is replaced by unittest.mock now, and we should update the test code to use this
nbsphinx
sphinx>=1.5.1
sphinx_bootstrap_theme
# have to pin otherwise RTD fails
# see https://github.com/readthedocs/readthedocs.org/issues/7492
Pygments==2.7.4
Pygments==2.7.4