Skip to content

Commit 8a98467

Browse files
authored
lint.sh: set pot dir for sphinx-intl
1 parent f2df769 commit 8a98467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ touch logs/sphinxlint.txt
2121
# Disable literal blocks and update PO
2222
sed -i "/^\s*'literal-block',/s/ '/ #'/" cpython/Doc/conf.py
2323
./scripts/generate_templates.sh
24-
sphinx-intl update -d cpython/Doc/locale -l pt_BR
24+
sphinx-intl update -d cpython/Doc/locale -p cpython/Doc/build/gettext -l pt_BR
2525

2626
cd cpython/Doc/locale/${PYDOC_LANGUAGE}/LC_MESSAGES
2727
sphinx-lint | tee $(realpath "$rootdir/logs/sphinxlint.txt")

0 commit comments

Comments
 (0)