-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(how-tos): wait-user-input refinemnts
- add conditional edges to handle user input resolve discussion #84
- Loading branch information
1 parent
66dc09a
commit 3eb7b15
Showing
6 changed files
with
342 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# Activate the virtual environment | ||
source .venv/bin/activate | ||
|
||
# Loop through all Jupyter notebooks in the current directory | ||
for notebook in *.ipynb; do | ||
# Convert the notebook to markdown | ||
jupyter nbconvert --to markdown "$notebook" --output-dir=src/site/markdown | ||
done | ||
# Set the notebook argument, defaulting to all .ipynb files if not provided | ||
NB="${1:-*.ipynb}" | ||
|
||
# Convert the specified notebook(s) to markdown | ||
jupyter nbconvert --to markdown $NB --output-dir=src/site/markdown | ||
|
||
echo "Conversion complete!" | ||
echo "Conversion complete!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-15.6 KB
how-tos/src/site/resources/wait-user-input_files/wait-user-input_5_2.png
Binary file not shown.
Binary file added
BIN
+19.3 KB
how-tos/src/site/resources/wait-user-input_files/wait-user-input_7_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.