cpython/Doc/tools
Miss Islington (bot) 1b736838e6
gh-101845: pyspecific: Fix i18n for availability directive (GH-101846)
pyspecific: Fix i18n for availability directive

If the directive has content, the previous code would nest paragraph
nodes from that content inside a general paragraph node, which confuses
Sphinx and leads it to drop the content when translating. Instead, use a
container node for the body.

Also use set_source_info so that any warnings have location info.
(cherry picked from commit 6ef6915d35)

Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
2023-02-12 09:28:20 -08:00
..
extensions gh-101845: pyspecific: Fix i18n for availability directive (GH-101846) 2023-02-12 09:28:20 -08:00
static bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) 2020-11-07 12:28:31 +01:00
templates [3.11] Docs: Fix the Show Source link (GH-100733) 2023-01-03 16:51:36 -06:00
rstlint.py [3.11] gh-93675: Fix typos in Doc/ (GH-93676) (GH-94079) 2022-06-21 21:22:27 +02:00
susp-ignored.csv gh-86404: [doc] A make sucpicious false positive. (GH-93710) 2022-06-11 04:06:44 -07:00