From f7af1b72e765278b3431de3f3b92c6b9a189b18e Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 2 Nov 2022 08:25:47 +0200 Subject: Update docs build configuration (#924) * Use Python 3.11 * Use Sphinx 5 (and update extlinks configuration) * Use Python 3 intersphinx mapping * Install Babel from the build directory Refs https://github.com/python-babel/babel/issues/920 --- .readthedocs.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to '.readthedocs.yml') diff --git a/.readthedocs.yml b/.readthedocs.yml index a4a09ac..cc83f36 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,10 +3,17 @@ version: 2 build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: - python: "3.9" - + python: "3.11" + jobs: + pre_build: + # Replace any Babel version something may have pulled in + # with the copy we're working on. We'll also need to build + # the data files at that point, or date formatting _within_ + # Sphinx will fail. + - pip install -e . + - make import-cldr sphinx: configuration: docs/conf.py -- cgit v1.2.1