GitHub page: https://macrometacorp.github.io/notebooks/
pip install jupyter-book
cd <path_to_docs-xbook>/docs-xbook
git checkout main
jupyter-book build --all docs-xbook
To run your book locally, you can open the generated HTML files in your browser.
Eenter the absolute path to the file in your browser navigation bar adding file://
at the beginning (e.g. file:///Users/xxxxx/docs-xbook/_build/index.html
).
- Install ghp-import (Only if the
ghp-import
has not yet been installed)
pip install ghp-import
- Check generated
_build
directory, make sure it is generated/updated
cd <path_to_docs-xbook>/docs-xbook
git checkout main
ls _build/
- Publish the jupyter book
ghp-import -n -p -f _build/html