Skip to content

Commit 659cb7e

Browse files
[DOCS] Fix listing of notebooks with badges (openvinotoolkit#1820)
Fixing listing of notebooks with badges for docs.
1 parent dd5db32 commit 659cb7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/convert_notebooks.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tagslist=$rstdir"/notebooks_tags.json"
1010
mkdir -p $rstdir
1111

1212
# List all notebooks that contain binder or colab buttons based on readme
13-
for n in $(git ls-files '*.ipynb' ':!:*utils.ipynb'| head); do
13+
for n in $(git ls-files '*.ipynb' ':!:*utils.ipynb'); do
1414
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
1515
cat ${n%/*}"/README.md" | grep -oP "https://colab.research.google.com/github.*?[0-9]{3}.*?ipynb" | xargs basename -s .ipynb {} | sort | uniq > $colablist
1616
done

0 commit comments

Comments
 (0)