1.7 KiB
1.7 KiB
| branch | repo | created | status |
|---|---|---|---|
| feat-api-uplift | docs-v2 | 2025-12-02T15:28:32Z | in-progress |
feat-api-uplift
Overview
Replace the current API reference documentation implementation (RapiDoc web components) with Hugo-native templates.
Phase 1: Core Infrastructure (completed)
Build process
yarn build:apiparses OpenAPI specs into Hugo data- Generates Hugo pages with frontmatter for Algolia search integration
- Static JSON chunks for faster page loads
OpenAPI tag cleanup
- Removed unused tags from OpenAPI specs
- Updated tags to be consistent and descriptive
Hugo-native POC
- Implemented Hugo-native templates in
layouts/partials/api/hugo-native/ - Tested with InfluxDB 3 Core product
Phase 2: Migration to Hugo-Native (in progress)
Plan: @plans/2026-02-13-hugo-native-api-migration.md
Task Order
- ✅ Promote Hugo-native templates - Move from POC to production
- ✅ Remove RapiDoc templates - Delete templates and partials
- ✅ Remove RapiDoc JavaScript - Delete components
- ✅ Remove operation pages - Delete individual operation page generation
- ✅ Update Cypress tests - Simplify tests for static HTML
- ✅ Clean up styles - Remove RapiDoc CSS and dead auth modal code
- Fix generation script cleanup - Add
--cleanflag (planned) - Apply Cache Data tag split - Enterprise spec update (planned)
- Migrate remaining products - Apply to all InfluxDB products (planned)
Related Files
- Branch:
feat-api-uplift - Plan:
plans/2026-02-13-hugo-native-api-migration.md
Notes
- Use Chrome devtools and Cypress to debug
- No individual operation pages - operations accessed only via tag pages