Skip to content

Commit 3d955af

Browse files
committed
tc
1 parent 698a3e2 commit 3d955af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.jenkins/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
6060
export FILES_TO_RUN
6161

6262
# Step 3: Run `make docs` to generate HTML files and static files for these tutorialis
63-
pip3 install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
63+
pip3 install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git@csl/handle_new_sphinx_version#egg=pytorch_sphinx_theme
6464
make docs
6565

6666
# Step 3.1: Run the post-processing script:
@@ -122,7 +122,7 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
122122
awsv2 s3 cp worker_${WORKER_ID}.7z s3://${BUCKET_NAME}/${COMMIT_ID}/worker_${WORKER_ID}.7z
123123
elif [[ "${JOB_TYPE}" == "manager" ]]; then
124124
# Step 1: Generate no-plot HTML pages for all tutorials
125-
pip3 install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
125+
pip3 install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git@csl/handle_new_sphinx_version#egg=pytorch_sphinx_theme
126126
make html-noplot
127127
cp -r _build/html docs
128128

@@ -155,11 +155,11 @@ elif [[ "${JOB_TYPE}" == "manager" ]]; then
155155
if [[ "$COMMIT_SOURCE" == "refs/heads/master" || "$COMMIT_SOURCE" == "refs/heads/main" ]]; then
156156
git clone https://github.com/pytorch/tutorials.git -b gh-pages gh-pages
157157
# Clean up directories that contain tutorials
158-
158+
159159
for dir in beginner intermediate prototype recipes advanced distributed vision text audio; do
160160
rm -rf "gh-pages/$dir"
161161
done
162-
162+
163163
cp -r docs/* gh-pages/
164164
pushd gh-pages
165165
# DANGER! DO NOT REMOVE THE `set +x` SETTING HERE!

0 commit comments

Comments
 (0)