cpython/Doc/tools/extensions
Jean Abou-Samra 6ef6915d35
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.
2023-02-12 15:20:11 +01:00
..
asdl_highlight.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
c_annotations.py bpo-47115: Document which parts of structs are in limited API/stable ABI (GH-32196) 2022-04-06 16:50:45 +02:00
escape4chm.py bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file (GH-30768) 2022-01-21 21:51:15 +00:00
glossary_search.py bpo-43778: Fix Sphinx glossary_search extension (GH-25286) 2021-04-09 00:07:01 +02:00
patchlevel.py Issues #29349: Merge Py 2.6+ compatibility from 3.6 2017-01-29 23:37:24 +00:00
peg_highlight.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
pyspecific.py gh-101845: pyspecific: Fix i18n for availability directive (GH-101846) 2023-02-12 15:20:11 +01:00