8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86b9c5 commit 9db8afdCopy full SHA for 9db8afd
scripts/lint.sh
@@ -20,14 +20,10 @@ touch logs/sphinxlint.txt
20
21
cd cpython/Doc
22
23
-# 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.
+# If version 3.11 or older, disable new 'unnecessary-parentheses' check,
+# not fixed before 3.12.
26
minor_version=$(git branch --show-current | sed 's|^3\.||')
27
-if [ $minor_version -ge 12 ]; then
28
- make gettext SPHINXOPTS='-q -Dgettext_additional_targets=["index"]'
29
- sphinx-intl update -p build/gettext -l ${PYDOC_LANGUAGE} > /dev/null
30
-else
+if [ $minor_version -le 11 ]; then
31
alias sphinx-lint='sphinx-lint --disable unnecessary-parentheses'
32
fi
33
0 commit comments