File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : deploy-docs
1+ name : deploy-doc
22
33on :
44 push :
4040
4141 - name : Build documentations
4242 run : |
43- uvx --with notebook jupyter-book build doc
43+ uv run --group dev jupyter-book build doc
4444
4545 # Upload the book's HTML as an artifact
4646 - name : Upload artifact
Original file line number Diff line number Diff line change @@ -32,12 +32,11 @@ uv build
3232
3333Build the documentations by
3434``` sh
35- uvx --with notebook jupyter-book build doc
35+ uv run --group dev jupyter-book build doc
3636```
3737Then serve
3838``` sh
39- cd doc/_build/html
40- python3 -m http.server -d .
39+ python3 -m http.server -d doc/_build/html
4140```
4241
4342### Examples
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ requires-python = ">=3.11.0"
1212dependencies = []
1313[dependency-groups ]
1414dev = [
15+ " jupyter-book>=1.0.4.post1" ,
1516 " notebook" ,
1617 " pytest>=8.4.1" ,
1718]
You can’t perform that action at this time.
0 commit comments