Fluvio website repository stores all documentation published in fluvio.io.
The website is generated using Hugo Framework. To run the website on your local machine:
-
Run Hugo
./hugo-start.sh
-
Website is rendered at
http://localhost:1313/
-
Checkout WRITERS.md for formatting and Fluvio customizations.
Hugo watches for file changes and automatically updates website.
Cloudflare Pages watches the default branch, and updates the live site automatically after merge
master
updates fluvio.io
Preview pages are created for each PR. Their URLS are dynamic, based on the name of your branch + .fluvio-website-preview.pages.dev
For more info read: https://developers.cloudflare.com/pages/platform/preview-deployments/#preview-aliases
Or ask someone with access to the Pages dashboard to retrieve your preview URL
A preview of the fluvio-cms
CLI can be used to update the reference docs for connectors in the Hub.
Connectors are organized inscripts/fluvio-cms/src/connectors/mod.rs
, and define:
- Protocol used by connector
- Direction of the data flow with respect to a Fluvio cluster.
- Location in Hugo repo where connector README is stored
- Location in Hugo repo where the content template is stored
At the time of this writing, the latest connector docs are collected by parsing the output of fluvio hub connector list
2 areas need to be updated before fluvio-cms
will support a new connector's docs
- For new protocols, add to the
DataService
enum. - For new connectors, add to the
OfficialConnector
enum
Downloading from the public git repo:
Ex. Download MQTT docs from github repo
$ cargo run -- connector --service mqtt --direction inbound
Using README from local git clone:
Ex. Copy SQL docs
$ cargo run -- connector --service sql --direction outbound --file /path/to/README