mirror of
https://github.com/django/django.git
synced 2024-11-21 19:09:18 +01:00
447b6c866f
This pins Sphinx version, because the default Sphinx version used by RTD is not compatible with Python 3.8+. This also, sets Python 3.8 for RTD builds which is compatible with all current versions of Django. Thanks to Mariusz Felisiak for the suggestion.
22 lines
410 B
YAML
22 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-20.04
|
|
tools:
|
|
python: "3.8"
|
|
|
|
sphinx:
|
|
configuration: docs/conf.py
|
|
|
|
python:
|
|
install:
|
|
- requirements: docs/requirements.txt
|
|
|
|
formats:
|
|
- epub
|
|
- pdf
|
|
- htmlzip
|