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
#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'),
}