Dataset of simple physical systems.
- Squash merge all features to
main- Use
feat(section): xxx,fix(section): yyy,chore(poetry): locketc as the squashed commit messages
- Use
- Run
cz bump --dryto determine the new versionX.Y.Z. Or check out the documentation for imposing a version - Run
git checkout -b release/X.Y.Z - Run
cz bump. This will- Write
docs/changelog.mdfrom the commit messages; update the version inpyproject.toml - Commit
docs/changelog.mdandpyproject.toml - Create a new tag
- Write
- Push to
release/X.Y.Z - Merge to
main, no need to squash, maybe don't delete the branch under release
The tutorials are auto generated by mkdocs based on percent scripts located in the docs/tutorials folder. The scripts can be modified and run in vscode without problems. However, if one decided to use jupyter to create/develop tutorials, jupytext is the tool that helps sync between jupyter notebooks and percent scripts.
- To create jupyter notebooks for the first time, run
poetry run jupytext --to ipynb docs/tutorials/*.py. - To sync between notebooks and percent scripts, run
poetry run jupytext --sync docs/tutorials/*. - To create percent script from jupyter notebooks, run
poetry run jupytext --to py:percent docs/tutorials/your_notebook.ipynb. - Jupyter Lab has an extension that automatically syncs between the different versions. Please refer to jupytext documentation for more info.