Skip to content

Commit

Permalink
Finally fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll committed Nov 22, 2023
1 parent 5dc55a0 commit a515e29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev/update-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ for d in $(printf '%s\n' */ | sort -V); do
# For each example, copy all images of the _static folder into the examples
# docs static folder
[[ $example != doc ]] && [ -d "$example/_static" ] && {
cp $example/_static/**/*.jpg $ROOT/examples/doc/source/_static/ 2>/dev/null || true
cp $example/_static/**/*.png $ROOT/examples/doc/source/_static/ 2>/dev/null || true
cp $example/_static/**/*.jpeg $ROOT/examples/doc/source/_static/ 2>/dev/null || true
cp $example/_static/**.jpg $ROOT/examples/doc/source/_static/ 2>/dev/null || true
cp $example/_static/**.png $ROOT/examples/doc/source/_static/ 2>/dev/null || true
cp $example/_static/**.jpeg $ROOT/examples/doc/source/_static/ 2>/dev/null || true
}
# For each example, insert the name of the example into the index file
[[ $example != doc ]] && (echo $INSERT_LINE; echo a; echo $example; echo .; echo wq) | ed $INDEX 2>&1 >/dev/null
Expand Down

0 comments on commit a515e29

Please sign in to comment.