Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
40 changes: 0 additions & 40 deletions .github/workflows/test.yml

This file was deleted.

11 changes: 6 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,12 @@ when opened as a notebook. Another difference we want to see between the HTML
and the notebook version is that we want to avoid putting the solutions in the
notebook version, to allow more space for thought about the exercise. Both to
modify any ugly formatting, and to remove the exercise solutions, we
post-process the pages with a script `_scripts/process_notebooks.py` to load
the pages as text notebooks, and write out `.ipynb` files with modified markup
that looks better in a Jupyter interface. Some of the authoring advice here is
to allow that process to work smoothly, because the `process_notebooks.py` file
reads the input Myst-MD format notebooks using
post-process the pages with a script `jljb-write-dir` from the [jljb
package](https://github.com/matthew-brett/jljb) to load the pages as text
notebooks, and write out `.ipynb` files with modified markup that looks better
in a Jupyter interface. Some of the authoring advice here is to allow that
process to work smoothly, because the `process_notebooks.py` file reads the
input Myst-MD format notebooks using
[Jupytext](https://jupytext.readthedocs.io) before converting to Jupyter
`.ipynb` files.

Expand Down
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@ html:
jl:
# Jupyter-lite files for book build.
$(PIP_INSTALL_CMD) -r jl-build-requirements.txt
rm -rf $(JL_DIR)
mkdir $(JL_DIR)
cp -r data images $(JL_DIR)
$(PYTHON) _scripts/process_notebooks.py $(JL_DIR)
$(PYTHON) -m jupyter lite build \
--contents $(JL_DIR) \
--output-dir $(BUILD_DIR)/interact \
--lite-dir $(JL_DIR)
jljb-write-dir $(BUILD_DIR)/interact data images --jl-tmp $(JL_DIR)

lint:
pre-commit run --all-files --show-diff-on-failure --color always
Expand Down
1 change: 0 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ exclude_patterns:
- LICENSE.md
- CONTRIBUTING.md
- todo.md
- _scripts/*
- _notes/*
- _to_ignore.md
- data/LICENSE.txt
Expand Down
244 changes: 0 additions & 244 deletions _scripts/examples2nb.py

This file was deleted.

Loading