forked from beeware/briefcase
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
24 lines (22 loc) · 764 Bytes
/
Copy path.readthedocs.yaml
File metadata and controls
24 lines (22 loc) · 764 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
# .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-24.04
tools:
# Docs are always built on Python 3.12. See also the tox config and contribution docs.
python: "3.12"
jobs:
post_checkout:
# RTD defaults to a depth of 50 but Briefcase versioning may require
# much more git history to accurately determine the SCM version
- git fetch --unshallow
pre_install:
- python -m pip install --upgrade pip
- python -m pip install --group 'tox-uv'
pre_build:
- python -m tox -e docs-lint
build:
html:
- python -m tox -e docs-$READTHEDOCS_LANGUAGE -- --output=$READTHEDOCS_OUTPUT/html/