FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-zh-cn/.github/scripts/build.sh at master · python/python-docs-zh-cn · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
python-docs-zh-cn
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
103
Star
466
Code
Issues
5
Pull requests
3
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-zh-cn
/
.github
/
scripts
/
build.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
18 lines (15 loc) · 410 Bytes
Breadcrumbs
python-docs-zh-cn
/
.github
/
scripts
/
build.sh
Copy path
File metadata and controls
executable file
·
18 lines (15 loc) · 410 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!
/bin/bash
set
-e
set
-u
set
-o pipefail
error
() {
while
read
-r line
;
do
echo
echo
::error::
"
$line
"
done
}
cd
cpython/Doc
||
exit
1
mkdir -p locales/
"
$LOCALE
"
/
ln -sfn
"
$(
realpath ../../docs
)
"
locales/
"
$LOCALE
"
/LC_MESSAGES
pip3 install -q -r requirements.txt
sphinx-build -b dummy -d build/doctrees -j auto -D language=
$LOCALE
-D gettext_compact=0 -E --keep-going -W
.
build/html
2>
>(
error
)
Back
|
FazBrowse Home
|
New Git URL