File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,19 +16,35 @@ jobs:
1616 uses : actions/setup-python@v4
1717 with :
1818 python-version : ' 3.12'
19+
20+ - name : Install Jupyter Book
21+ run : |
22+ pip install --upgrade pip
23+ pip install jupyter-book
24+
25+ - name : Verify correct executable
26+ run : |
27+ which jupyter-book
28+ jupyter-book --version
29+ python -m jupyter_book --version
30+
1931 - name : Install system dependencies (Graphviz)
2032 run : |
2133 sudo apt-get update
2234 sudo apt-get install -y graphviz graphviz-dev
35+
2336 - name : Install dependencies
2437 run : |
2538 python -m pip install --upgrade pip
2639 python -m pip install graphviz pygraphviz
2740 python -m pip install ".[doc,dev]"
28- pip install jupyter-book ghp-import matplotlib gdmloader
41+ pip install ghp-import matplotlib gdmloader
2942
30- - name : Build the book
31- run : jupyter-book build docs/ --builder html
43+ - name : Clean old builds
44+ run : rm -rf docs/_build
45+
46+ - name : Build Jupyter Book
47+ run : jupyter-book build docs/
3248
3349 - name : Deploy to GitHub Pages
3450 run : |
You can’t perform that action at this time.
0 commit comments