Skip to content

Commit b596bf8

Browse files
committed
add note for requests and bash
1 parent 86d48b3 commit b596bf8

24 files changed

+82
-7
lines changed

.github/workflows/build_site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Build the JupyterLite site
5353
run: |
5454
find . -type d -name .pytest_cache -o -name .ruff_cache -o -name .doctrees | xargs rm -rf
55-
mkdir content
55+
mkdir contents
5656
mkdir _site/jupyter-lite
5757
find ch*/ -type f -name '*.ipynb' ! -name '*.nbconvert.ipynb' -exec rsync -R {} contents/ \;
5858
jupyter lite build --contents contents --output-dir _site/jupyter-lite

ch00git/01Intro.ipynb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@
122122
# %% [markdown]
123123
# Commands you can type will look like this, using the %%bash "magic" for the notebook.
124124

125+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
126+
# thread/process restriction), and the cells below might error out on the browser
127+
# (jupyterlite) version of this notebook
128+
129+
125130
# %% attributes={"classes": [" Bash"], "id": ""} jupyter={"outputs_hidden": false} language="bash"
126131
# echo some output
127132

ch00git/02Solo.ipynb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
# %% [markdown]
1515
# ## Solo work with Git
1616

17+
# %% [markdown]
18+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
19+
# thread/process restriction), and the cells below might error out on the browser
20+
# (jupyterlite) version of this notebook
21+
1722
# %% [markdown]
1823
# So, we're in our git working directory:
1924

ch00git/03Mistakes.ipynb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
# %% [markdown]
1515
# ## Fixing mistakes
1616

17+
# %% [markdown]
18+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
19+
# thread/process restriction), and the cells below might error out on the browser
20+
# (jupyterlite) version of this notebook
21+
1722
# %% [markdown]
1823
# We're still in our git working directory:
1924

ch00git/04Publishing.ipynb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
# %% [markdown]
1515
# ## Publishing
1616

17+
# %% [markdown]
18+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
19+
# thread/process restriction), and the cells below might error out on the browser
20+
# (jupyterlite) version of this notebook
21+
1722
# %% [markdown]
1823
# We're still in our working directory:
1924

ch00git/05Collaboration.ipynb.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313

1414
# %% [markdown]
1515
# ## Collaboration
16-
#
16+
17+
# %% [markdown]
18+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
19+
# thread/process restriction), and the cells below might error out on the browser
20+
# (jupyterlite) version of this notebook
21+
#
1722
# ### Form a team
1823

1924
# %% [markdown]

ch00git/10Branches.ipynb.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313

1414
# %% [markdown]
1515
# ## Branches
16-
#
16+
#
17+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
18+
# thread/process restriction), and the cells below might error out on the browser
19+
# (jupyterlite) version of this notebook
20+
#
1721
# Branches are incredibly important to why `git` is cool and powerful.
1822
#
1923
# They are an easy and cheap way of making a second version of your software, which you work on in parallel,

ch00git/11Miscellany.ipynb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
# %% [markdown]
1515
# ## Git Stash
1616

17+
# %% [markdown]
18+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
19+
# thread/process restriction), and the cells below might error out on the browser
20+
# (jupyterlite) version of this notebook
21+
1722
# %% [markdown]
1823
# Before you can `git pull`, you need to have committed any changes you have made. If you find you want to pull, but you're not ready to commit, you have to temporarily "put aside" your uncommitted changes.
1924
# For this, you can use the `git stash` command, like in the following example:

ch00git/12Remotes.ipynb.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313

1414
# %% [markdown]
1515
# ## Working with multiple remotes
16-
#
16+
#
17+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
18+
# thread/process restriction), and the cells below might error out on the browser
19+
# (jupyterlite) version of this notebook
20+
#
1721
# ### Distributed versus centralised
1822
#
1923
# Older version control systems (cvs, svn) were "centralised"; the history was kept only on a server,

ch00git/14Bisect.ipynb.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313

1414
# %% [markdown]
1515
# ## Debugging With Git Bisect
16-
#
16+
#
17+
# **NOTE:** using bash/git commands is not fully supported on jupyterlite yet (due to single
18+
# thread/process restriction), and the cells below might error out on the browser
19+
# (jupyterlite) version of this notebook
20+
#
1721
# You can use
1822
#
1923
# ``` bash

0 commit comments

Comments
 (0)