layout | title | permalink | nav_order |
---|---|---|---|
page |
Documentation |
/documentation |
5 |
This document contains various tips and tricks on how to manage and update the documentation of the repository.
The following tooling is necessary to compile and serve the documentation website:
Jekyll requires Ruby and various additional packages. The guide on their website should be sufficient to have a working Jekyll setup. There is significant documentation on how Jekyll works in general. We use the Just the Docs template.
In addition we recommend the following tooling:
- Visual Studio Code as your interactive development environment (IDE).
- Github Desktop or Github CLI as your tool to interact with Git.
To run the documentations website on the localhost you need a command line where the current directory is the docs
folder. From there you run the following commands:
bundle install
: Similar tonpm install
if you're familiar with the Node Package Manager. Should be necessary only once. Installs all relevant packages.bundle exec jekyll serve --config _config.yml,_config_debug.ym
: Once completed the website should be available on your localhost. It runs the website from the_site
folder. The website is updated automagically on every file change but it is not refreshed automagically. You'll need to refresh the page manually.