Skip to content

Commit

Permalink
lint.sh: set pot dir for sphinx-intl
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Oct 12, 2024
1 parent f2df769 commit 8a98467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ touch logs/sphinxlint.txt
# Disable literal blocks and update PO
sed -i "/^\s*'literal-block',/s/ '/ #'/" cpython/Doc/conf.py
./scripts/generate_templates.sh
sphinx-intl update -d cpython/Doc/locale -l pt_BR
sphinx-intl update -d cpython/Doc/locale -p cpython/Doc/build/gettext -l pt_BR

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

0 comments on commit 8a98467

Please sign in to comment.