Skip to content

Commit 8ad92cb

Browse files
committed
docs: touch up book a bit
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent fa3e43a commit 8ad92cb

5 files changed

Lines changed: 27 additions & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ concurrency:
1717
jobs:
1818
build-book:
1919
runs-on: ubuntu-latest
20+
timeout-minutes: 20
2021
steps:
2122
- uses: actions/checkout@v5
2223

@@ -35,6 +36,7 @@ jobs:
3536

3637
build-pyodide:
3738
runs-on: ubuntu-latest
39+
timeout-minutes: 10
3840
steps:
3941
- uses: actions/checkout@v5
4042

@@ -54,7 +56,7 @@ jobs:
5456
environment:
5557
name: github-pages
5658
url: ${{ steps.deployment.outputs.page_url }}
57-
runs-on: ubuntu-latest
59+
runs-on: ubuntu-slim
5860
needs: [build-book, build-pyodide]
5961
if: github.event_name == 'push'
6062
steps:

myst.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ project:
44
authors:
55
- name: Henry Schreiner
66
github: henryiii/level-up-your-python
7+
jupyter:
8+
lite: true
79
toc:
810
- file: notebooks/0 Intro.ipynb
911
- title: Object Model

notebooks/0 Intro.ipynb

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"![](../images/LevelUpYourPython.svg)\n",
8-
"\n",
9-
"# Level Up Your Python\n",
7+
"# Introduction\n",
108
"\n",
11-
"A course in _intermediate_ Python for a beginner ready to move up. [Binder version](https://mybinder.org/v2/gh/henryiii/level-up-your-python/main?urlpath=lab/tree/notebooks/0%20Intro.ipynb) and [Live WebAssembly version available too!](https://henryiii.github.io/level-up-your-python/live)\n",
9+
"![](../images/LevelUpYourPython.svg)\n",
1210
"\n",
13-
"**Henry Schreiner**\n"
11+
"A course in _intermediate_ Python for a beginner ready to move up. [Binder version](https://mybinder.org/v2/gh/henryiii/level-up-your-python/main?urlpath=lab/tree/notebooks/0%20Intro.ipynb) and [Live WebAssembly version available too!](https://henryiii.github.io/level-up-your-python/live)\n"
1412
]
1513
},
1614
{
1715
"cell_type": "code",
1816
"execution_count": null,
1917
"metadata": {
20-
"tags": [
21-
"remove-cell"
22-
]
18+
"editable": true,
19+
"slideshow": {
20+
"slide_type": ""
21+
},
22+
"tags": []
2323
},
2424
"outputs": [],
2525
"source": [
@@ -38,9 +38,8 @@
3838
"cell_type": "markdown",
3939
"metadata": {},
4040
"source": [
41-
"## Introduction\n",
4241
"\n",
43-
"### Expected Knowledge\n",
42+
"## Expected Knowledge\n",
4443
"\n",
4544
"You should already know:\n",
4645
"\n",

notebooks/3.6 Code Quality and CI.ipynb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"metadata": {},
5+
"metadata": {
6+
"editable": true,
7+
"slideshow": {
8+
"slide_type": ""
9+
},
10+
"tags": []
11+
},
612
"source": [
713
"# Code Quality and CI"
814
]
@@ -167,6 +173,10 @@
167173
}
168174
],
169175
"metadata": {
176+
"execute": {
177+
"skip": true
178+
},
179+
"jupyter": false,
170180
"kernelspec": {
171181
"display_name": "conda-env-level-up-your-python-py",
172182
"language": "python",

notebooks/4.2 Classes.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@
10131013
],
10141014
"metadata": {
10151015
"kernelspec": {
1016-
"display_name": "Python [conda env:level-up-your-python] *",
1016+
"display_name": "conda-env-level-up-your-python-py",
10171017
"language": "python",
10181018
"name": "conda-env-level-up-your-python-py"
10191019
},
@@ -1027,7 +1027,7 @@
10271027
"name": "python",
10281028
"nbconvert_exporter": "python",
10291029
"pygments_lexer": "ipython3",
1030-
"version": "3.10.5"
1030+
"version": "3.14.3"
10311031
},
10321032
"toc-autonumbering": false,
10331033
"toc-showmarkdowntxt": false,

0 commit comments

Comments
 (0)