* Changelog for 2.0.4 * Update influxdb.md * New influxd commands, flags, and config options (#2139) * added influxd print-config command * added --overwrite-existing-v2 flag to influxd upgrade * added export-lp command * added nats-related config options to influxd * updated influxd docs to address PR feedback * minor updates to influxd docs * removed ignored files from the repo * closes #2079 * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update upgrade docs to note removal of inmem option (#2138) * Update upgrade docs to note removal of inmem option * Update content/influxdb/v2.0/upgrade/v1-to-v2/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Swagger files for InfluxDB 2.0.4 (#2145) * Update content/influxdb/v2.0/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * removed geo ref from oss swagger * Add new items * InfluxDB 2.0.4 binaries (#2144) * updated download links and pkg links for influxdb 2.0.4 * updated underscores to dashes in binary example names * removed unsupported tag matching operators from swagger, closes influxdata/DAR#160 * Update influxdb-k8-minikube.yaml (#2171) * update v1-compat swagger with timestamp info, closes influxdata/DAR#118 (#2172) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cloud | ||
| v2.0 | ||
| README.md | ||
| generate-api-docs.sh | ||
| template.hbs | ||
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
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.
From the root of the docs repo, run:
# Install redoc-cli
npm install -g redoc-cli
# Generate the API docs
cd api-docs && generate-api-docs.sh