Theodolite's docs are generated with Jekyll from Markdown files.
Prerequisite: You need to have Ruby >=3.1 installed on your system.
To set up Jekyll run:
gem install bundler
bundle config set --local path 'vendor'
bundle installFor live serving the docs run:
bundle exec jekyll serveYou can compile everything to HTML via:
bundle exec jekyll buildWe use the crdoc tool to generate the API reference for our CRDs:
crdoc --resources ../theodolite/crd/ --template api-reference/crds.tmpl --output api-reference/crds.mdWith the following command, crdoc is executed in Docker:
docker run --rm -v "`pwd`/../theodolite/crd/":/crd -v "`pwd`/api-reference":/api-reference ghcr.io/fybrik/crdoc:0.6.2 --resources /crd/ --template /api-reference/crds.tmpl --output /api-reference/crds.md