801 B
801 B
| applyTo |
|---|
| api-docs/**/*.md, api-docs/**/*.yml, api-docs/**/*.yaml |
InfluxDB API Documentation
Complete guide: api-docs/README.md
API documentation uses OpenAPI specifications and Redoc, not Hugo shortcodes.
Workflow
- Edit YAML files in
/api-docs/ - Generate HTML documentation locally:
cd api-docs sh generate-api-docs.sh - Test generated documentation
- Commit YAML changes (HTML is gitignored)
Files
ref.yml: Main API specificationcontent/*.yml: Custom content overlays.redocly.yaml: Linter and bundler configuration
Tools
- Redoc: Generates HTML from OpenAPI specs
- @redocly/cli: Lints and bundles specs
For complete documentation workflow, see api-docs/README.md.