Skip to content

Commit

Permalink
Update convert.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjo authored Mar 8, 2023
1 parent 98c3bb1 commit 29cf353
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions convert.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/bin/bash
pwd
for filename in tutorials/*.ipynb; do

# jupyter nbconvert *.ipynb --to markdown --execute
# jupyter nbconvert "$filename" --to markdown --execute --output "$(basename "$filename" .ipynb).md"
jupyter nbconvert "$filename" --to markdown --execute --output "../docs/$(basename "$filename" .ipynb).md"
# cp "$(basename "$filename" .ipynb).md" ../docs/
#cp -r . ../docs/
jupyter nbconvert "$filename" --to markdown --execute --output "../docs/$(basename "$filename" .ipynb).md"
done

0 comments on commit 29cf353

Please sign in to comment.