summaryrefslogtreecommitdiff
path: root/docs
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 /docs
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 'docs')
-rw-r--r--docs/conf.py6
-rw-r--r--docs/requirements.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 24c6ce2..c0e2389 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -251,10 +251,10 @@ texinfo_documents = [
#texinfo_show_urls = 'footnote'
intersphinx_mapping = {
- 'https://docs.python.org/2/': None,
+ 'https://docs.python.org/3/': None,
}
extlinks = {
- 'gh': ('https://github.com/python-babel/babel/issues/%s', '#'),
- 'trac': ('http://babel.edgewall.org/ticket/%s', 'ticket #'),
+ 'gh': ('https://github.com/python-babel/babel/issues/%s', '#%s'),
+ 'trac': ('http://babel.edgewall.org/ticket/%s', 'ticket #%s'),
}
diff --git a/docs/requirements.txt b/docs/requirements.txt
index aaedb21..c133306 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1 +1 @@
-Sphinx~=4.4.0
+Sphinx~=5.3.0