We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent54e8795 commit35cf71aCopy full SHA for 35cf71a
scripts/lint.sh
@@ -20,13 +20,12 @@ touch logs/sphinxlint.txt
20
21
cd cpython/Doc
22
23
-# If version is 3.12 or newer, thendisable literal-block,generate POT and
+# If version is 3.12 or newer, then generate POT disabling literal blocks and
24
# update translations with fresh POT files. If version 3.11 or older,
25
# disable new 'unnecessary-parentheses' check, not fixed before these versions.
26
minor_version=$(git branch --show-current| sed's|^3\.||')
27
if [$minor_version-ge 12 ];then
28
- sed -i"/^\s*'literal-block',/s/ '/ #'/" conf.py
29
- make gettext SPHINXOPTS='-q'
+ make gettext SPHINXOPTS='-q -Dgettext_additional_targets=["index"]'
30
sphinx-intl update -p build/gettext -l${PYDOC_LANGUAGE}> /dev/null
31
else
32
alias sphinx-lint='sphinx-lint --disable unnecessary-parentheses'