Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 898 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 898 Bytes

Theodolite Docs

Theodolite's docs are generated with Jekyll from Markdown files.

Installation

To set up Jekyll run:

gem install bundler
bundle config set --local path 'vendor'
bundle install

Local Testing

For live serving the docs run:

bundle exec jekyll serve

Building

You can compile everything to HTML via:

bundle exec jekyll build

CRD API Reference

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