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 a59954e commit 886bdc5Copy full SHA for 886bdc5
scripts/lint.sh
@@ -18,8 +18,17 @@ cd "$rootdir"
18
mkdir -p logs
19
touch logs/sphinxlint.txt
20
21
+# Disable literal blocks and update PO
22
+sed -i "s/^\s*'literal-block',/s/ '/ #'/" cpython/Doc/conf.py
23
+./scripts/generate_templates.sh
24
+sphinx-intl update -d cpython/Doc/locale -l pt_BR
25
+
26
cd cpython/Doc/locale/${PYDOC_LANGUAGE}/LC_MESSAGES
27
sphinx-lint | tee $(realpath "$rootdir/logs/sphinxlint.txt")
28
29
+# Undo changes that disabled literal blocks
30
+git checkout *.po
31
32
cd $OLDPWD
33
34
# Remove empty file
0 commit comments