docs-v2/content/influxdb3/enterprise/reference
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
..
api feat(api): Hugo-native API reference rendering 2026-03-15 22:17:33 -05:00
cli feat(ci): add doc review pipeline with auto-labeling and Copilot review (#6890) 2026-03-09 20:22:31 -05:00
client-libraries chore(monolith): Core and Enterprise: Add client library references, revise recommendations 2025-04-09 19:53:48 -05:00
influxql InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
internals Dar 588 plugins (#6718) 2026-01-14 18:17:14 -06:00
sql chore(sql): Update SQL reference with additional functions (#6359) 2025-09-05 08:26:38 -06:00
_index.md InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
config-options.md fix(monolith): add configurable db, table, and column limits to enterprise 2025-08-14 10:44:58 -05:00
glossary.md chore(influxdb3): shared glossary suitable for all InfluxDB 3 versions. Currently, only using for Enterprise and Core 2025-04-15 12:07:18 -05:00
line-protocol.md docs(influxdb3): document duplicate point write ordering and workarounds (#6584) 2025-12-12 17:02:14 -06:00
naming-restrictions.md feat(v3): Add naming restrictions reference and guidelines: 2025-07-10 16:10:27 -05:00
processing-engine.md hotfix(influxdb3): processing engine source and description (closes #6335) 2025-08-22 17:50:19 -05:00
sample-data.md Add InfluxDB 3 query guides (#5798) 2025-01-23 10:18:45 -07:00
telemetry.md chore(monolith): Move telemetry reference to shared/influxdb3-reference. Revise description, disable, and product names. 2025-08-14 14:41:05 -05:00