Skip to content

Commit f54f47e

Browse files
committed
tc
1 parent 161e527 commit f54f47e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.jenkins/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
1515
# Install pandoc (does not install from pypi)
1616
sudo apt-get update
1717
sudo apt-get install -y pandoc
18+
pip install sphinx-gallery==0.19.0
1819

1920
# NS: Path to python runtime should already be part of docker container
2021
# export PATH=/opt/conda/bin:$PATH
@@ -152,11 +153,11 @@ elif [[ "${JOB_TYPE}" == "manager" ]]; then
152153
if [[ "$COMMIT_SOURCE" == "refs/heads/master" || "$COMMIT_SOURCE" == "refs/heads/main" ]]; then
153154
git clone https://github.com/pytorch/tutorials.git -b gh-pages gh-pages
154155
# Clean up directories that contain tutorials
155-
156+
156157
for dir in beginner intermediate prototype recipes advanced distributed vision text audio; do
157158
rm -rf "gh-pages/$dir"
158159
done
159-
160+
160161
cp -r docs/* gh-pages/
161162
pushd gh-pages
162163
# DANGER! DO NOT REMOVE THE `set +x` SETTING HERE!

0 commit comments

Comments
 (0)