Skip to content

Commit afe84ec

Browse files
committed
pixi tasks for cache management
1 parent fcd46f4 commit afe84ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ tutorial = "jupyter lab --LabApp.default_url='/lab/tree/overview/xarray-in-45-mi
5858
build = "jupyter-book build ./ --warningiserror --keep-going"
5959
precommit = "pre-commit run --all"
6060
checklinks = "jupyter-book build ./ --builder linkcheck"
61+
clear-cache = "jupyter-book clean ."
62+
# To clear a specific notebook pass ID number: jcache cache -p _build/.jupyter_cache remove 28
63+
# To clear all cached notebooks: jupyter-book clean . --all"
64+
list-cache = "jcache cache -p _build/.jupyter_cache list"
6165

6266
[tool.pixi.dependencies]
6367
jupyter-book = ">=1.0.4.post1,<2"

0 commit comments

Comments
 (0)