Skip to content
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
20 changes: 16 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,31 @@ 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 ESMValCore 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:
environment:
environment.yml
environment: environment.yml

# Build documentation in the doc directory with Sphinx
sphinx:
configuration: doc/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
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
master_doc = 'index'

# General information about the project.
project = u'ESMValTool'
project = u'ESMValCore'
copyright = u'{0}, ESMValTool Development Team'.format(datetime.now().year)

# The version info for the project you're documenting, acts as replacement for
Expand Down