Skip to content

Commit

Permalink
Merge pull request #1613 from NOAA-GFDL/rtd_fix
Browse files Browse the repository at this point in the history
Update .readthedocs.yml configuration
  • Loading branch information
marshallward authored Nov 6, 2023
2 parents dbda49c + e41929e commit 314a626
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

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

# Extra formats
# PDF generation is failing for now; disabled on 2020-12-02
#formats:
Expand All @@ -10,7 +19,5 @@ sphinx:
configuration: docs/conf.py

python:
# make sure we're using Python 3
version: 3
install:
- requirements: docs/requirements.txt
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ sphinxcontrib-bibtex
numpy
six
future
# Old Sphinx requires an old Jinja2
jinja2<3.1

0 comments on commit 314a626

Please sign in to comment.