We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd5db32 commit 659cb7eCopy full SHA for 659cb7e
.ci/convert_notebooks.sh
@@ -10,7 +10,7 @@ tagslist=$rstdir"/notebooks_tags.json"
10
mkdir -p $rstdir
11
12
# List all notebooks that contain binder or colab buttons based on readme
13
-for n in $(git ls-files '*.ipynb' ':!:*utils.ipynb'| head); do
+for n in $(git ls-files '*.ipynb' ':!:*utils.ipynb'); do
14
cat ${n%/*}"/README.md" | grep -oP "https://mybinder.org/v2.*?[0-9]{3}.*?ipynb" | sed 's#%2F#/#g' | xargs basename -a -s .ipynb {} | sort | uniq > $binderlist
15
cat ${n%/*}"/README.md" | grep -oP "https://colab.research.google.com/github.*?[0-9]{3}.*?ipynb" | xargs basename -s .ipynb {} | sort | uniq > $colablist
16
done
0 commit comments