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 |
||
|---|---|---|
| .. | ||
| api-reference.cy.js | ||
| ask-ai.cy.js | ||
| index.cy.js | ||
| influxdb-version-detector.cy.js | ||
| latest-patch-shortcode.cy.js | ||
| llm-format-selector.cy.js | ||
| markdown-content-validation.cy.js | ||
| page-context.cy.js | ||
| shortcodes-real-pages.cy.js | ||
| shortcodes.cy.js | ||
| stable-version-callout.cy.js | ||