IAGA-VMOD / IGRF14eval

https://iaga-vmod.github.io/IGRF14eval/
MIT License
1 stars 2 forks source link

Add jupyter-book build config #4

Closed smithara closed 6 months ago

smithara commented 7 months ago

This takes the notebooks, executes them, and creates the site at https://iaga-vmod.github.io/IGRF14eval.

The main branch will automatically be built and deployed. GitHub Actions will report an error on the Build Jupyter Book job if the notebooks don't execute completely (which currently happens because the code does not work when no coefficients are supplied), but it will still push the site to GitHub Pages. This allows us to easily see how the notebook fails and accurately reflects whatever is on the main branch.

Some files are added that makes this possible:

This PR will wait on https://github.com/IAGA-VMOD/IGRF14eval/pull/3 then I will tweak the notebooks to fix how the output site is displayed (e.g. fixing the page titles, and collapsing code blocks)