Skip to content

Commit

Permalink
reorganize jupytext code
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Mar 10, 2025
1 parent c53d520 commit ff09c44
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@ jobs:
- uses: actions/checkout@master
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: install deps
- name: Turn script into notebook
run: |
uv sync --extra docs
source .venv/bin/activate
python -m ipykernel install --name daisy_env --user
- name: parse notebooks
run: jupytext --to notebook --execute ./docs/source/notebooks/tutorial.py --output ./docs/source/notebooks/tutorial.ipynb
uv run --extra docs python -m ipykernel install --name daisy_env --user
uv run --extra docs jupytext --to notebook --execute ./docs/source/notebooks/tutorial.py --output ./docs/source/notebooks/tutorial.ipynb
- name: remove notebook scripts
run: rm ./docs/source/notebooks/*.py
- name: Build and Commit
Expand Down

0 comments on commit ff09c44

Please sign in to comment.