docs(cli): clarify badge rendering uses MDX wrapper instead of PageHeader slot

This commit is contained in:
Prad Nukala committed 2026-09-29 17:03:25 -04:00
1 parent 6f1cb93395
commit 2f94b02e15
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
* Find the NeetCode explanation video for every docs page that has none.
*
* A finished solution page carries frontmatter `video: <YouTube id>` —
* NeetCode's walkthrough of the problem — which the docs `PageHeader` slot
* NeetCode's walkthrough of the problem — which the docs MDX `wrapper`
* (`apps/docs/components/ProblemBadges.astro`) renders as the red
* "Explanation" badge beside the topic badges. `sync.ts` never writes that key
* (it owns `icon:`, `topics:` and `## Solution`), so pages accumulate without