File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
15
15
# Install pandoc (does not install from pypi)
16
16
sudo apt-get update
17
17
sudo apt-get install -y pandoc
18
+ pip install sphinx-gallery==0.19.0
18
19
19
20
# NS: Path to python runtime should already be part of docker container
20
21
# export PATH=/opt/conda/bin:$PATH
@@ -152,11 +153,11 @@ elif [[ "${JOB_TYPE}" == "manager" ]]; then
152
153
if [[ " $COMMIT_SOURCE " == " refs/heads/master" || " $COMMIT_SOURCE " == " refs/heads/main" ]]; then
153
154
git clone https://github.com/pytorch/tutorials.git -b gh-pages gh-pages
154
155
# Clean up directories that contain tutorials
155
-
156
+
156
157
for dir in beginner intermediate prototype recipes advanced distributed vision text audio; do
157
158
rm -rf " gh-pages/$dir "
158
159
done
159
-
160
+
160
161
cp -r docs/* gh-pages/
161
162
pushd gh-pages
162
163
# DANGER! DO NOT REMOVE THE `set +x` SETTING HERE!
You can’t perform that action at this time.
0 commit comments