Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
6c48f08
ref: minor of check_nb, replace os with pathlib
asoplata Oct 27, 2025
c35eb08
ref: build arg str var, use "repo-owner"
asoplata Oct 27, 2025
4ebb35a
ref: minor log output improvement
asoplata Oct 27, 2025
c3a189b
ref: add unused args+docs for new version args
asoplata Oct 27, 2025
2043ea9
ref: debug comments, and pathlib replacement
asoplata Oct 28, 2025
6d957e1
ref: add CLI args to get_commit and ruff
asoplata Oct 28, 2025
586b23f
ref: major overhaul of indexing, part 1 of 2-3
asoplata Oct 28, 2025
76e0cf5
ref: overhaul of index/pathing, part 2 of 3
asoplata Oct 28, 2025
d6ad627
ref: indexing overhaul part 3 of 3
asoplata Oct 29, 2025
72d5971
ref: restore future _structure_json function
asoplata Oct 29, 2025
c4b25ba
ref: rename execution-filter to execution-type
asoplata Oct 29, 2025
846d9a1
propagate rename to CI
asoplata Oct 29, 2025
789092c
ref: major overhaul of dev CLI args, part 1 of 2/3
asoplata Oct 29, 2025
7ebddf1
ref: finish overhaul of dev CLI args, part 2 of 2
asoplata Oct 29, 2025
607ecb0
ref: ruff run
asoplata Oct 29, 2025
47d2ecd
ref: incr recorded JSON flags verbosity
asoplata Oct 29, 2025
9d39a17
ref: attn: remove non-exec hash json recording
asoplata Oct 29, 2025
d52206a
ref: 99% formatting and tons of COMMENTS
asoplata Oct 29, 2025
a1725d7
doc: Add large synopsis of entire building program
asoplata Oct 30, 2025
e7d1ca0
doc: docs and comments for get-hash
asoplata Oct 31, 2025
359b8a0
ref: ref all post-val vers checks to is_dev_build
asoplata Oct 31, 2025
c473a42
ref: move nb_html->json up in call tree
asoplata Oct 31, 2025
a921def
doc: (mostly) incomplete updating of execute docs
asoplata Oct 31, 2025
aeafd0a
ref: change calculate_nb_hash to copy not load nb
asoplata Oct 31, 2025
24b0b87
doc: more docs
asoplata Oct 31, 2025
cea13aa
ref: minor var name change
asoplata Oct 31, 2025
1fc186e
fix: proper nb JSON output loading
asoplata Oct 31, 2025
be82a5d
doc and minor ref: docstrings for remaining funcs
asoplata Oct 31, 2025
b5734a4
ref: change code_version=no_check to CLI arg
asoplata Oct 31, 2025
738ffff
doc: docstring, comment, help, and ruff changes
asoplata Oct 31, 2025
1d57e3b
DELETE dev folder entirely, since bug is fixed
asoplata Oct 31, 2025
667f180
ref: rename sidebar-header to sidebar-section
asoplata Oct 31, 2025
9b838b2
doc: remove Claude hallucination
asoplata Oct 31, 2025
8be7cac
ref: finish renaming navbar to sidebar
asoplata Nov 4, 2025
5e38eb5
maint: remove deprecated ordered_links comments
asoplata Oct 31, 2025
937e9d8
maint and doc: sidebar code docs, and rename funcs
asoplata Oct 31, 2025
86eb4da
doc: add tiny note about "dev" sidebar
asoplata Oct 31, 2025
12ee326
conflict resolution: re-add then delete HTML
asoplata Jan 5, 2026
e09b530
conf res: re-delete
asoplata Jan 5, 2026
8ebadfd
lazy file revert to remove conflicts
asoplata Jan 21, 2026
6126ab0
delete files that no longer exist
asoplata Jan 21, 2026
b0b76b6
re-add final scripts changes
asoplata Jan 21, 2026
cc5be6b
ugh re-add deleted files again
asoplata Jan 21, 2026
2c698ce
accidentally moved HTML file to wrong folder
asoplata Jan 21, 2026
3e2c104
add misssing no-check argument to --code-version
dylansdaniels Jan 27, 2026
5ce4753
fix: add no-check to dev builds, and document it
asoplata Jan 28, 2026
199d172
ref: remove --no-vers-val, add --build-dir
asoplata Jan 30, 2026
cbf9312
ref: decr verbosity of some CLI args
asoplata Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
- name: Determine Build Method
run: |
if conda run -n textbook-stable-build python scripts/check_nb_versions.py; then
echo "BUILD_FLAG=--execution-filter execute-updated-unskipped-notebooks" >> $GITHUB_ENV
echo "BUILD_FLAG=--execution-type updated-unskipped-notebooks" >> $GITHUB_ENV
else
echo "BUILD_FLAG=--execution-filter execute-updated-unskipped-notebooks" >> $GITHUB_ENV
echo "BUILD_FLAG=--execution-type updated-unskipped-notebooks" >> $GITHUB_ENV
echo "Not all notebooks were executed on the latest version. Forcing re-execution."
fi

Expand Down
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,25 @@ endef
all: build

build:
@#"This option is now equivalent to running build with '--execution-filter no-execution'."
@#"This option is now equivalent to running build with '--execution-type no-execution'."
python build.py

force-execute-all-notebooks:
@echo "This option has been replaced with '--execution-filter execute-all-unskipped-notebooks'"
@echo "You can run 'make execute-all-unskipped-notebooks' for the same command."
@echo "This option has been replaced with '--execution-type all-unskipped-notebooks'"
@echo "You can run 'make all-unskipped-notebooks' for the same command."

execute-notebooks:
@echo "This option has been replaced with '--execution-filter execute-updated-unskipped-notebooks'"
@echo "You can run 'make execute-updated-unskipped-notebooks' for the same command."
@echo "This option has been replaced with '--execution-type updated-unskipped-notebooks'"
@echo "You can run 'make updated-unskipped-notebooks' for the same command."

execute-absolutely-all-notebooks:
python build.py --execution-filter execute-absolutely-all-notebooks
absolutely-all-notebooks:
python build.py --execution-type absolutely-all-notebooks

execute-all-unskipped-notebooks:
python build.py --execution-filter execute-all-unskipped-notebooks
all-unskipped-notebooks:
python build.py --execution-type all-unskipped-notebooks

execute-updated-unskipped-notebooks:
python build.py --execution-filter execute-updated-unskipped-notebooks
updated-unskipped-notebooks:
python build.py --execution-type updated-unskipped-notebooks

clean:
rm -rf content/*.html
Expand Down
465 changes: 428 additions & 37 deletions build.py

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions content/assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,10 @@ body.is-mobile .sidebar-close {
}

/*
Element: .navbar-header
Element: .sidebar-header
Description: Contain top-level and non-indexed sidebar elements
*/
.navbar-header {
.sidebar-header {
display: flex;
padding: 10px 0px 20px 0px;
align-items: center;
Expand All @@ -513,13 +513,13 @@ body.is-mobile .sidebar-close {
Element: .title-row
Description: style 'title' text in navbar header
*/
.navbar-header .title-row {
.sidebar-header .title-row {
display: flex;
align-items: center;
width: 100%;
}

.navbar-header a {
.sidebar-header a {
margin: 0px;
}

Expand Down Expand Up @@ -819,7 +819,7 @@ body.dark-mode .topbar {


/*
# Collapse navbar
# Collapse sidebar
# ------------------------------------------------------------
*/

Expand Down
Loading