main
yaml 23 lines 627 Bytes
Raw
1 # Read the Docs configuration file
2 # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
4 version: 2
5
6 build:
7 os: ubuntu-22.04
8 tools:
9 python: "3.12"
10 jobs:
11 post_checkout:
12 - git fetch origin main --unshallow --no-tags --filter=blob:none || true
13 - bash docs/pre_run_check.sh
14 pre_create_environment:
15 - pip install uv
16 create_environment:
17 - uv venv $READTHEDOCS_VIRTUALENV_PATH
18 install:
19 - uv pip install --python $READTHEDOCS_VIRTUALENV_PATH/bin/python --no-cache-dir -r requirements/docs.txt
20
21 mkdocs:
22 configuration: mkdocs.yaml
23 fail_on_warning: true