File: .readthedocs.yaml

package info (click to toggle)
python-holidays 0.90-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 59,088 kB
  • sloc: python: 121,956; javascript: 85; makefile: 62
file content (27 lines) | stat: -rw-r--r-- 765 bytes parent folder | download
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
# Read the Docs configuration file.
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details.

build:
  # https://docs.readthedocs.com/platform/stable/config-file/v2.html#build-os
  os: ubuntu-24.04
  tools:
    # https://docs.readthedocs.com/platform/stable/config-file/v2.html#build-tools-python
    python: '3.14'
  jobs:
    pre_create_environment:
       - asdf plugin add uv
       - asdf install uv 0.9.16
       - asdf global uv 0.9.16
    create_environment:
       - uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
    install:
       - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --no-dev --group docs

mkdocs:
  configuration: mkdocs.yml

python:
  install:
    - requirements: requirements/docs.txt

version: 2