This repository stores the content shown on the Bytewax Platform website.
- Staging: https://staging.platform.bytewax.io
- Production: https://platform.bytewax.io
The website looks for releases of this repository and shows the content of the selected release by the user. By default, the latest release will be shown.
The content of these files is intended to be generated automatically. This section describes the steps for each.
Steps:
- Define these variables:
export waxctl_repo_path=<ABSOLUTE PATH OF WAXCTL REPOSITORY DIRECTORY>
export content_path=<ABSOLUTE PATH OF PLATFORM CONTENT REPOSITORY DIRECTORY>
For example:
export waxctl_repo_path=/home/jdoe/repos/waxctl
export content_path=/home/jdoe/repos/platform-docs-content
- Run this command to update the file
reference/dataflow-crd.md
docker run -u $(id -u):$(id -g) --rm \
-v $waxctl_repo_path:/workdir \
-v $content_path/reference:/reference \
ghcr.io/fybrik/crdoc:latest \
--resources /workdir/operator/config/crd/bases \
--output /reference/dataflow-crd.md \
--template /reference/markdown.tmpl
Steps:
-
Open a terminal in the
deployment/chart
directory of thewaxctl
repository. -
Run this command to output a table to the std output:
docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest --dry-run
- Replace the md table in
reference\helm-chart.md
To update the resources/openapi.json
file, follow the instructions of the OpenAPI
section in the WaxAPI README.md