Skip to content

Commit

Permalink
Fix wrong version in title in Readthedocs documentation (#3815)
Browse files Browse the repository at this point in the history
Co-authored-by: Bouwe Andela <b.andela@esciencecenter.nl>
  • Loading branch information
valeriupredoi and bouweandela authored Nov 22, 2024
1 parent edca991 commit 0e1ba01
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@ build:
# DO NOT use mambaforge-*; that is currently sunsetted
python: "miniconda-latest"
jobs:
post_create_environment:
- conda run -n ${CONDA_DEFAULT_ENV} pip install . --no-deps
post_checkout:
# The ESMValTool repository is shallow i.e., has a .git/shallow,
# therefore complete the repository with a full history in order
# to allow setuptools-scm to correctly auto-discover the version.
- git fetch --unshallow
- git fetch --all
pre_install:
- git stash
post_install:
- git stash pop

# Declare the requirements required to build your docs
conda:
Expand All @@ -26,6 +34,11 @@ sphinx:
configuration: doc/sphinx/source/conf.py
fail_on_warning: true

python:
install:
- method: pip
path: .

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats:
- pdf

0 comments on commit 0e1ba01

Please sign in to comment.