Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit886bdc5

Browse files
authored
lint.sh: disable literal block to lint
1 parenta59954e commit886bdc5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎scripts/lint.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,17 @@ cd "$rootdir"
1818
mkdir -p logs
1919
touch logs/sphinxlint.txt
2020

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+
2126
cd cpython/Doc/locale/${PYDOC_LANGUAGE}/LC_MESSAGES
2227
sphinx-lint| tee$(realpath"$rootdir/logs/sphinxlint.txt")
28+
29+
# Undo changes that disabled literal blocks
30+
git checkout*.po
31+
2332
cd$OLDPWD
2433

2534
# Remove empty file

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp