docs-v2/content/influxdb3/core
Jason Stirnaman f5535c9d5c feat(api): Hugo-native API reference rendering
Hugo-native templates for API
reference documentation. Operations render as server-side HTML instead
of client-side Redoc, providing faster page loads, full SEO
indexability, and consistent styling.

Architecture:
- Tag-based navigation: operations grouped by OpenAPI tag, accessed
  via tag pages only (no individual operation URLs)
- Generation script auto-discovers products from .config.yml files,
  deriving Hugo paths and menu keys from directory structure
- Per-tag JSON/YAML chunks for fast Hugo template rendering
- Inline curl examples generated from OpenAPI specs at build time

Templates (layouts/api/, layouts/partials/api/):
- tag-renderer.html: renders all operations for a tag
- operation.html: individual operation with parameters, request body,
  responses, and schema rendering
- code-sample.html: curl examples with Ask AI integration
- section-children.html: tag listing on section index pages
- all-endpoints-list.html: all operations sorted by path

Generation (api-docs/scripts/generate-openapi-articles.ts):
- Auto-discovery from .config.yml replaces hardcoded productConfigs
- Each API section generates independently (no cross-spec merging)
- Frontmatter-driven template data (specDownloadPath, articleDataKey)
- Link transformation: /influxdb/version/ placeholders resolved to
  product-specific paths

Removed:
- Redoc renderer, JavaScript components, and CSS
- Shadow DOM test infrastructure (~160 lines)
- Operation page generation (dead generatePathPages function)
- mergeArticleData() and slugifyDisplayName()

Styles (assets/styles/layouts/_api-*.scss):
- 3-column layout: sidebar, content, sticky TOC
- Theme-aware code blocks for curl examples
- Method badges (GET/POST/PUT/DELETE) with color coding
- Collapsible schema sections with depth tracking

Tests (cypress/e2e/content/api-reference.cy.js):
- Tag page rendering with operation structure
- Download button verification per section
- All-endpoints page with operation cards
- Related links from x-related OpenAPI extension
- Code sample and Ask AI link validation
2026-03-15 22:17:33 -05:00
..
__tests__ refactor: replace URL-parsing in shortcodes with cascade product data (#6883) 2026-02-27 09:46:57 -06:00
admin Add Documentation MCP server pages to chronograf, kapacitor, flux, and explorer (#6833) 2026-02-18 14:20:26 -06:00
get-started feat: add InfluxDB documentation MCP server integration (#6830) 2026-02-17 20:42:56 -06:00
object-storage feat(monolith): use minio for object storage (#6228) 2025-07-17 15:14:17 -05:00
plugins Mark disabled field as required in processing engine trigger API specs (#6790) 2026-02-09 15:46:37 -06:00
query-data fix(influxdb3): publish parameterized queries and add HTTP API examples (#6673) 2025-12-27 15:01:20 -06:00
reference feat(api): Hugo-native API reference rendering 2026-03-15 22:17:33 -05:00
release-notes fix(monolith): Core and Enterprise release note cleanup. 2025-03-17 02:49:23 -05:00
visualize-data docs(chronograf): add instructions for use with InfluxDB3 products (#6730) 2026-01-15 13:24:09 -06:00
write-data fix(write_lp): Update titles with actual endpoint name, add related link in API ref. 2025-07-25 16:35:57 -05:00
.vale.ini fix(vale): propagate Google.Units=NO to product-specific Vale configs (#6917) 2026-03-10 12:27:35 -05:00
_index.md refactor: replace URL-parsing in shortcodes with cascade product data (#6883) 2026-02-27 09:46:57 -06:00
feature-board.md feat(feature-boards): embed product feature boards in the docs (#6767) 2026-01-30 12:41:02 -07:00
install.md feat(influxdb3): Core/Enterprise: Upgrade instance or cluster:- Addre… (#6483) 2025-10-25 07:42:53 -05:00