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 @@ -60,7 +60,7 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
60
60
export FILES_TO_RUN
61
61
62
62
# 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
64
64
make docs
65
65
66
66
# Step 3.1: Run the post-processing script:
@@ -122,7 +122,7 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
122
122
awsv2 s3 cp worker_${WORKER_ID} .7z s3://${BUCKET_NAME} /${COMMIT_ID} /worker_${WORKER_ID} .7z
123
123
elif [[ " ${JOB_TYPE} " == " manager" ]]; then
124
124
# 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
126
126
make html-noplot
127
127
cp -r _build/html docs
128
128
@@ -155,11 +155,11 @@ elif [[ "${JOB_TYPE}" == "manager" ]]; then
155
155
if [[ " $COMMIT_SOURCE " == " refs/heads/master" || " $COMMIT_SOURCE " == " refs/heads/main" ]]; then
156
156
git clone https://github.com/pytorch/tutorials.git -b gh-pages gh-pages
157
157
# Clean up directories that contain tutorials
158
-
158
+
159
159
for dir in beginner intermediate prototype recipes advanced distributed vision text audio; do
160
160
rm -rf " gh-pages/$dir "
161
161
done
162
-
162
+
163
163
cp -r docs/* gh-pages/
164
164
pushd gh-pages
165
165
# DANGER! DO NOT REMOVE THE `set +x` SETTING HERE!
You can’t perform that action at this time.
0 commit comments