Skip to content

Commit

Permalink
Pin versions of sphinx and optional extensions
Browse files Browse the repository at this point in the history
As recommended for reproducible builds on readthedocs:
https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
and to ensure that our docs build works with readthedocs changes to default
project dependencies:
https://blog.readthedocs.com/defaulting-latest-build-tools/
  • Loading branch information
douglatornell committed Nov 10, 2023
1 parent df6e059 commit 3961b1d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
6 changes: 3 additions & 3 deletions envs/environment-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ dependencies:
- tomli

# For documentation
- sphinx
- sphinx_rtd_theme=1.2
- sphinx-notfound-page
- sphinx=5.3.0
- sphinx-notfound-page=1.0.0
- sphinx-rtd-theme=1.3.0

# For exploration
# - ipython
Expand Down
6 changes: 3 additions & 3 deletions envs/environment-fig-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ dependencies:
- jupyterlab

# For documentation
- sphinx
- sphinx_rtd_theme=1.2
- sphinx-notfound-page
- sphinx=5.3.0
- sphinx-notfound-page=1.0.0
- sphinx-rtd-theme=1.3.0

- pip:
- angles
Expand Down
6 changes: 3 additions & 3 deletions envs/environment-linkcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ dependencies:
- xarray

# For documentation links checking
- sphinx
- sphinx_rtd_theme=1.2
- sphinx-notfound-page
- sphinx=5.3.0
- sphinx-notfound-page=1.0.0
- sphinx-rtd-theme=1.3.0

- pip:
- angles
Expand Down
11 changes: 10 additions & 1 deletion envs/environment-rtd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,19 @@ dependencies:
- python=3.12
- retrying

# RTD packages
# Sphinx and extensions
- sphinx=5.3.0
- sphinx-notfound-page=1.0.0
- sphinx-rtd-theme=1.3.0

# readthedocs build system packages
- mock
- pillow
- pip:
- commonmark
- recommonmark
- readthedocs-sphinx-ext

# Install NEMO_Nowcast and SalishSeaNowcast packages in editable mode
- --editable git+https://github.com/43ravens/NEMO_Nowcast.git#egg=NEMO_Nowcast
- --editable ../

0 comments on commit 3961b1d

Please sign in to comment.