* add kapa 1.6.2 release notes * update release date * add new featurre to RNs * kapa 1.6.2 updates for template-id * add new release note * add new option for tasks * swap option w property; clarify API response upd * Auto create task logs db (#3198) * kapa 1.6.2 updates * update jsonCompact detail * fix typos * add jsonCompact * add info about Flux log bucket/db * fix typo * change bucket to db for 1.x * add link * edits * update config example * update 2.0 config example * add link to task templates * add link to using Flux tasks with Kapactor * minor edits * update config file * add quotes for consistency * edits * remove extra line * remove template-id as query parameter * another bug fix from Sam * Update content/kapacitor/v1.6/about_the_project/releasenotes-changelog.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Update content/kapacitor/v1.6/working/api.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Update content/kapacitor/v1.6/working/flux/_index.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Update content/kapacitor/v1.6/working/template_tasks.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Update content/kapacitor/v1.6/about_the_project/releasenotes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/kapacitor/v1.6/about_the_project/releasenotes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/kapacitor/v1.6/about_the_project/releasenotes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/kapacitor/v1.6/about_the_project/releasenotes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * include correct version of node for api docs * re-add Jason edit Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cloud | ||
| v2.0 | ||
| README.md | ||
| generate-api-docs.sh | ||
| getswagger.sh | ||
| package.json | ||
| template.hbs | ||
| yarn.lock | ||
README.md
Generate InfluxDB API docs
InfluxDB uses Redoc and
redoc-cli to generate
API documentation from the InfluxDB swagger.yml.
To minimize repo size, the generated API documentation HTML is gitignored, therefore
not committed directly to the docs repo.
The InfluxDB docs deployment process uses swagger files in the api-docs directory
to generate version-specific API documentation.
Versioned swagger files
The structure versions swagger files using the following pattern:
api-docs/
├── v2.0/
│ └── swagger.yml
├── v2.1/
│ └── swagger.yml
├── v2.2/
│ └── swagger.yml
└── etc...
Generate API docs locally
Because the API documentation HTML is gitignored, you must manually generate it to view the API docs locally.
In your terminal, from the root of the docs repo, run:
cd api-docs
# Install dependencies
yarn install
# Generate the API docs
generate-api-docs.sh