Skip to content

Commit

Permalink
Copy images correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll committed Apr 4, 2024
1 parent 8819bd6 commit b5ba274
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dev/update-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ add_gh_button () {
}

copy_images () {
true
# [ -d "$1/_static" ] && {
# cp $1/_static/**.{jpg,png,jpeg} $ROOT/examples/doc/source/_static/ 2>/dev/null || true
# }
if [ -d "$1/_static" ]; then
cp $1/_static/**.{jpg,png,jpeg} $ROOT/examples/doc/source/_static/ 2>/dev/null || true
fi
}

add_to_index () {
Expand Down

0 comments on commit b5ba274

Please sign in to comment.