docs-v2/layouts/partials/api
Jason Stirnaman 4f430457cb refactor(api): replace hardcoded product configs with auto-discovery
Replace the 110-line productConfigs map with auto-discovery from
.config.yml files. The generation script now derives Hugo paths,
menu keys, and static file names from directory structure and
existing frontmatter.

Key changes:
- discoverProducts() scans api-docs/ for .config.yml files
- Each API entry generates independently (no mergeArticleData)
- New frontmatter params: specDownloadPath, articleDataKey, articleSection
- Templates use frontmatter lookup instead of hardcoded URL-to-key maps
- list.html download button simplified from 50 lines to 5
- Cypress tests updated for Hugo-native-only URLs
2026-03-15 17:01:27 -05:00
..
all-endpoints-list.html refactor(api): replace hardcoded product configs with auto-discovery 2026-03-15 17:01:27 -05:00
code-sample.html style(api): refine code samples, schema examples, and layout width 2026-03-10 14:16:55 -05:00
normalize-path.html feat(api): add All endpoints page and fix v2 menu warnings 2026-01-14 17:27:39 -06:00
operation.html feat(api): add inline curl examples and Ask AI links to API operations 2026-03-07 23:00:22 -06:00
parameter-row.html refactor(api): complete Hugo-native migration, remove RapiDoc 2026-02-13 15:07:02 -06:00
parameters.html refactor(api): complete Hugo-native migration, remove RapiDoc 2026-02-13 15:07:02 -06:00
renderer.html refactor(api): complete Hugo-native migration, remove RapiDoc 2026-02-13 15:07:02 -06:00
request-body.html refactor(api): complete Hugo-native migration, remove RapiDoc 2026-02-13 15:07:02 -06:00
responses.html refactor(api): complete Hugo-native migration, remove RapiDoc 2026-02-13 15:07:02 -06:00
schema.html style(api): refine code samples, schema examples, and layout width 2026-03-10 14:16:55 -05:00
section-children.html refactor(api): replace hardcoded product configs with auto-discovery 2026-03-15 17:01:27 -05:00
security-schemes.html feat(api): update API layouts and UI components 2026-02-03 20:11:42 -06:00
tag-renderer.html feat(api): add inline curl examples and Ask AI links to API operations 2026-03-07 23:00:22 -06:00