Theodolite's docs are generated with Jekyll from Markdown files.
To set up Jekyll run:
gem install bundler
bundle config set --local path 'vendor'
bundle install
For live serving the docs run:
bundle exec jekyll serve
You can compile everything to HTML via:
bundle exec jekyll build
We 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.md
With 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