This repository hosts the source code for the Nbility-model documentation website at https://nbility-model.github.io.
The documentation website is built with mkdocs, using the theme Material for MkDocs.
To test the documentation site locally, first clone the repository, install the package mkdocs-material
from PyPI, and run mkdocs serve
.
Detailed instructions at the Material for MkDocs documentation site.
The website is deployed using GitHub Pages. Deployment is automated using GitHub Actions, so that on each commit on the main branch, the website is rebuilt. We follow the exact same steps as outlined in the documentation on publishing your site, by Materials for MkDocs.
Note: while we use GitHub Actions for automating deployment, we do not use the 'deploy-pages' action that GitHub offers.
Instead, MkDocs pushes the site to a separate branch gh-pages
which is then used as the website root for GitHub Pages.
On each page on the documentation website, you find the following icon on the right-hand page:
Pressing this button will lead you directly to the source code of the corresponding page in GitHub. Here, you can commit a change, which you can later merge into the website by submitting a pull request.
To learn more about contributing, check out our contributing guide.