Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll committed Apr 4, 2024
1 parent 3ecc296 commit 94d6342
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dev/update-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ for d in $(printf '%s\n' */ | sort -V); do

if [[ $example != doc ]]; then

# For each example, copy the README into the source of the Example docs
cp $example/README.md $ROOT/examples/doc/source/$example.md 2>&1 >/dev/null
cp $example/README.md $ROOT/examples/doc/source/$example.md 2>&1 >/dev/null

for file in $example/*.md; do
# For each example, copy the README into the source of the Example docs
if [[ $(basename "$file") = "README.md" ]]; then
cp $file $ROOT/examples/doc/source/$example.md 2>&1 >/dev/null
else
# If the example contains other markdown files, copy them to the source of the Example docs
cp $file $ROOT/examples/doc/source/$(basename "$file") 2>&1 >/dev/null
fi
done
Expand Down

0 comments on commit 94d6342

Please sign in to comment.