File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ permissions:
3737env :
3838 PYDOC_LANGUAGE : pt_BR
3939 PYDOC_REPO : ${{ github.server_url }}/${{ github.repository }}
40- PYDOC_TX_PROJECT : ${{ inputs.tx_project }}
4140 PYDOC_VERSION : ${{ inputs.version }}
4241
4342jobs :
@@ -215,18 +214,19 @@ jobs:
215214 run : ./scripts/setup.sh
216215
217216 - name : Generate template files without literal-block
217+ working-directory : cpython/Doc
218218 run : |
219- sed -i '/^make/s/$opts/$opts -D gettext_additional_targets=["index"]/' scripts/generate_templates.sh
220- ./scripts/generate_templates.sh
219+ make build ALLSPHINXOPTS='-E -b gettext -D gettext_compact=0 -D gettext_additional_targets=["index"] -d build/.doctrees . build/gettext'
221220
222221 - name : Update translation files
223222 working-directory : cpython/Doc/locales/pt_BR/LC_MESSAGES
224223 run : |
225224 for po in $(git ls-files *.po); do
226- pot="cpython/Doc /build/gettext/${po}t"
225+ pot="../../.. /build/gettext/${po}t"
227226 msgmerge --update --backup=off $po $pot
228227 done
229228
229+ # Run a per-directory, group-separated spellcheck
230230 - name : Check spelling
231231 working-directory : cpython/Doc/locales/pt_BR/LC_MESSAGES
232232 run : |
You can’t perform that action at this time.
0 commit comments