Skip to content

Commit ab8e6d5

Browse files
committed
add make notebook
1 parent a8033c1 commit ab8e6d5

3 files changed

Lines changed: 943 additions & 1 deletion

File tree

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,16 @@ docs-serve: ## Serve local docs preview (hot reload)
153153
docs-build: ## Build the static documentation site
154154
uv run $(PYTHON_ARG) mkdocs build -f mkdocs/mkdocs.yml --strict
155155

156+
# ========================
157+
# Experimentation
158+
# ========================
159+
160+
##@ Experimentation
161+
162+
notebook: ## Launch notebook for experimentation
163+
uv sync $(PYTHON_ARG) --group notebook
164+
uv run jupyter lab
165+
156166
# ===================
157167
# Project Maintenance
158168
# ===================
@@ -167,4 +177,6 @@ clean: ## Remove build artifacts and caches
167177
@find . -name "__pycache__" -exec echo Deleting {} \; -exec rm -rf {} +
168178
@find . -name "*.pyd" -exec echo Deleting {} \; -delete
169179
@find . -name "*.pyo" -exec echo Deleting {} \; -delete
180+
@echo "Cleaning up Jupyter notebook checkpoints..."
181+
@find . -name ".ipynb_checkpoints" -exec echo Deleting {} \; -exec rm -rf {} +
170182
@echo "Cleanup complete."

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ docs = [
132132
"mkdocs-material-extensions==1.3.1",
133133
"mkdocs-section-index==0.3.10",
134134
]
135+
# for experimentation
136+
notebook = [
137+
"jupyterlab>=4.0.0",
138+
]
135139

136140
[tool.uv]
137141
default-groups = [

0 commit comments

Comments
 (0)