django-polymorphic/.readthedocs.yaml

27 lines
648 B
YAML
Raw Permalink Normal View History

# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
2024-04-03 17:54:37 +03:00
version: 2
# Set the version of Python and other tools you might need
build:
2024-04-03 18:13:03 +03:00
os: ubuntu-22.04
2024-04-03 18:10:16 +03:00
tools:
2024-04-03 18:13:03 +03:00
python: "3.12"
2025-08-25 07:37:30 +03:00
apt_packages:
- gettext
jobs:
post_install:
- pip install uv
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras --group docs --link-mode=copy
2024-04-03 18:10:16 +03:00
# Build documentation in the docs/ directory with Sphinx
2024-04-03 17:54:37 +03:00
sphinx:
configuration: docs/conf.py
# Optionally build your docs in additional formats such as PDF and ePub
formats:
- pdf