forked from stac-utils/pystac
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
26 lines (22 loc) · 744 Bytes
/
.readthedocs.yaml
File metadata and controls
26 lines (22 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.10"
commands:
# https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
# with adaptations to use workspaces+projects instead of `uv pip`
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv sync --group docs
- uv run sphinx-build -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
formats:
# Temporarily disabling PDF downloads due to problem with nbsphinx in LateX builds
# - pdf
- htmlzip
sphinx:
fail_on_warning: false