Skip to content

Commit

Permalink
clean and simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Jan 7, 2025
1 parent ec6fbd0 commit 038ed9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-jupyter-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Convert .py to notebook
run: |
jupytext --to notebook lite/jupyterlite.py
cp lite/*.ipynb book/
cp lite/*.ipynb book/
- name: Build the Pyodide output
run: |
Expand Down
5 changes: 2 additions & 3 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ root_base = ">=6.32.2,<7"
description = "Build JupyterLite version of book"
cmd = """
jupytext --to notebook lite/jupyterlite.py && \
cp lite/*.ipynb book/ && \
mv lite/*.ipynb book/ && \
jupyter lite init && \
jupyter lite build --contents=book && \
jupyter lite check
Expand All @@ -60,8 +60,7 @@ cmd = "jupyter lite serve"
description = "Remove the JupyterLite outputs"
cmd = """
rm -rf .jupyterlite.doit.db _output && \
rm -rf book/jupyterlite.ipynb && \
rm -rf lite/jupyterlite.ipynb
rm -rf book/jupyterlite.ipynb
"""

[feature.jupyterlite.dependencies]
Expand Down

0 comments on commit 038ed9f

Please sign in to comment.