Development workflow#
Author Audun Skau Hansen ✉️
The Hylleraas Centre for Quantum Molecular Sciences, 2022
For the time being, content is prepared as Jupyter Notebooks and stiched together using the Jupyter Books extension (pip install jupyter-books
). I propose the following workflow:
Clone the repository’s main branch
git clone -b main git@github.com:openworldlearning/openworldlearning.github.io.git
Execute
jupyter notebook
from the project folder. New notebooks can be added inside thedocs
-folder.Edit and add notebooks to the document structure.
In order to try out your additions, run
jupyter books build openworldlearning.github.io
from outside the project folder. Open the output file in the browser to inspect additions.When ready to submit, you’ll have to update the
_toc.ylm
file in the projects root folder to include the added documents.Then, updarte both the
main
branch (internal) and thegh-pages
-branch (visible online). First, update the repository:(from inside folder)
git add/commit/pull/push
your files.
Findally, update the online pages:
(from inside the folder)
ghp-import -n -p -f _build/html