File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 4141 - name : linkcheck
4242 # https://jupyterbook.org/en/stable/reference/cli.html
4343 run : jupyter-book build --builder linkcheck --warningiserror --nitpick --keep-going .
44- env : {PYTHONPATH: .}
4544 build :
4645 runs-on : ubuntu-latest
4746 steps :
7473 book.tex
7574 # insert PDF cover
7675 curl -fsSLO https://static.premai.io/book/cover.pdf
77- env : {PYTHONPATH: .}
7876 - uses : xu-cheng/latex-action@v3
7977 with :
8078 working_directory : _build/latex
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ sphinx:
9494 extra_extensions :
9595 - sphinx_last_updated_by_git
9696 - sphinx_subfigure
97- # custom (local *.py files)
98- - badges
99- - committers
100- - bibliography
97+ local_extensions :
98+ badges : .
99+ committers : .
100+ bibliography : .
101101 config :
102102 myst_heading_anchors : 4
103103 html_js_files :
Original file line number Diff line number Diff line change @@ -68,9 +68,9 @@ Spot something outdated or missing? Want to start a discussion? We welcome any o
6868- Or instead, manually set up your own Python environment:
6969
7070 ``` sh
71- pip install -r requirements.txt # setup
72- PYTHONPATH=. jupyter-book build --builder dirhtml --all . # build
73- python -m http.server -d _build/dirhtml # serve
71+ pip install -r requirements.txt # setup
72+ jupyter-book build --builder dirhtml --all . # build
73+ python -m http.server -d _build/dirhtml # serve
7474 ```
7575
7676 ```` {admonition} alternative: live rebuilding & serving (experimental)
You can’t perform that action at this time.
0 commit comments