docs-v2/layouts/partials
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
..
api refactor(api): replace hardcoded product configs with auto-discovery 2026-03-15 17:01:27 -05:00
article feat(api): add inline curl examples and Ask AI links to API operations 2026-03-07 23:00:22 -06:00
footer fix(version-detector): centralize Grafana links and DRY up host examples (#6693) 2026-01-26 18:42:09 -06:00
header chore(controller): add eula and eula acceptance to telegraf controller (#6759) 2026-02-05 10:27:15 -07:00
product refactor: replace URL-parsing in shortcodes with cascade product data (#6883) 2026-02-27 09:46:57 -06:00
sidebar Merge remote-tracking branch 'origin/master' into docs-v2-pr6622 2026-03-06 12:12:58 -06:00
svgs New home page layout (#3958) 2022-04-14 15:26:54 -06:00
topnav dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
article.html Feature: Generate documentation in LLM-friendly Markdown (#6555) 2025-12-01 12:32:28 -06:00
footer.html Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
header.html chore(analytics): Migrate to GA4 Google tag. If on the local server, use debug mode and prevent tracking. Add the www.influxdata.com Google tag script. Remove the conditional from header.html. Remove the old, unused GTM ID 2025-06-25 21:47:48 -05:00
sidebar.html Merge remote-tracking branch 'origin/master' into docs-v2-pr6622 2026-03-06 12:12:58 -06:00
topnav.html feat(feature-boards): embed product feature boards in the docs (#6767) 2026-01-30 12:41:02 -07:00