-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.readthedocs.yml
35 lines (30 loc) · 904 Bytes
/
.readthedocs.yml
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
27
28
29
30
31
32
33
34
35
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Don't publish the docs if there are any warnings, as they might be relevant
# https://github.com/readthedocs/readthedocs.org/issues/6837#issuecomment-607229633
sphinx:
builder: html
configuration: docs/source/conf.py
fail_on_warning: true
# Formats of the documentation to be built
formats:
- htmlzip
- pdf
build:
os: ubuntu-22.04
tools:
python: "3.12"
apt_packages:
- imagemagick
jobs:
install:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- echo $READTHEDOCS_VIRTUALENV_PATH
- uv venv $READTHEDOCS_VIRTUALENV_PATH
- . ${READTHEDOCS_VIRTUALENV_PATH}/bin/activate
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --frozen --all-extras