docs: add custom hooks for rendering jupyter notebooks (#2067)

This commit is contained in:
Vadym Barda
2024-10-09 18:49:54 -04:00
committed by GitHub
parent fe110ae145
commit db0f508269
36 changed files with 1064 additions and 131 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export -f execute_notebook
# Check if custom notebook paths are provided
if [ $# -gt 0 ]; then
notebooks="$@"
notebooks=$(echo "$@" | tr ' ' '\n' | grep -vFf <(echo "$SKIP_NOTEBOOKS"))
else
# Find all notebooks and filter out those in the skip list
notebooks=$(find docs/docs/tutorials docs/docs/how-tos -name "*.ipynb" | grep -v ".ipynb_checkpoints" | grep -vFf <(echo "$SKIP_NOTEBOOKS"))