This repository was archived by the owner on Feb 20, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
32 lines (27 loc) Β· 1.19 KB
/
.readthedocs.yaml
File metadata and controls
32 lines (27 loc) Β· 1.19 KB
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
# yaml-language-server: $schema=https://raw.githubusercontent.com/readthedocs/readthedocs.org/master/readthedocs/rtd_tests/fixtures/spec/v2/schema.json
# This file is @generated by <https://github.com/liblaf/copier-python>.
# DO NOT EDIT!
# ref: <https://docs.readthedocs.com/platform/stable/config-file/v2.html>
# ref: <https://docs.readthedocs.com/platform/stable/reference/environment-variables.html>
version: 2
build:
os: ubuntu-lts-latest
tools:
python: latest
jobs:
post_checkout:
# ref: <https://docs.readthedocs.com/platform/stable/build-customization.html#unshallow-git-clone>
- git fetch --unshallow || true
# ref: <https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv>
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --all-packages --link-mode copy
pre_build:
- if test -f 'docs/scripts/pre-build.sh'; then bash 'docs/scripts/pre-build.sh'; fi
mkdocs:
configuration: mkdocs.yaml