summaryrefslogtreecommitdiff
path: root/.readthedocs.yml
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2022-11-02 08:25:47 +0200
committerGitHub <noreply@github.com>2022-11-02 08:25:47 +0200
commitf7af1b72e765278b3431de3f3b92c6b9a189b18e (patch)
treefcdadb9eb6f8d5e2e013ff08569128fb3fa56603 /.readthedocs.yml
parentd6a3528d319e474f7a824050f7311e585ab810b2 (diff)
downloadbabel-f7af1b72e765278b3431de3f3b92c6b9a189b18e.tar.gz
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
Diffstat (limited to '.readthedocs.yml')
-rw-r--r--.readthedocs.yml13
1 files changed, 10 insertions, 3 deletions
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