We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f04ff2 commit 8de46a4Copy full SHA for 8de46a4
nb-convert.sh
@@ -3,7 +3,7 @@
3
set -euo pipefail
4
5
jupyter nbconvert --TagRemovePreprocessor.enabled=True --TagRemovePreprocessor.remove_cell_tags no-convert --to script docs/examples/*.ipynb &&
6
-shopt -s nullglob && # Prevents the loop from running if there are no .txt files
+shopt -s nullglob # Prevents the loop from running if there are no .txt files
7
for file in docs/examples/*.txt;
8
do mv -- "$file" "${file%.txt}.py";
9
done
0 commit comments