1
0
mirror of https://github.com/django/django.git synced 2025-01-25 01:30:48 +00:00
django/.readthedocs.yml
David Smith bed70e2c00 [5.1.x] Upgraded to Python 3.12, Ubuntu 24.04, and enabled fail_on_warning for docs builds.
Backport of 73d532d9a92d4d472564f3251499a428d1da9835 from main.
2024-11-27 15:23:02 -03:00

20 lines
410 B
YAML

# Configuration for the Read The Docs (RTD) builds of the documentation.
# Ref: https://docs.readthedocs.io/en/stable/config-file/v2.html
# The python.install.requirements pins the version of Sphinx used.
version: 2
build:
os: ubuntu-24.04
tools:
python: "3.12"
sphinx:
configuration: docs/conf.py
fail_on_warning: true
python:
install:
- requirements: docs/requirements.txt
formats: all