WIP components (as built)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 15:51:57 -04:00
1 parent c804f2ab94
commit e9d5dbe6ad
102 files changed
+6538 -1

No files matched your search

+3
View File
@@ -83,6 +83,9 @@ func TestDocSnippetsAreCompiledExamples(t *testing.T) {
// TestDocsMatchGalleryPages wants exactly one doc and one gallery page per component ID.
func TestDocsMatchGalleryPages(t *testing.T) {
if n := len(readGlob(t, "docs/components/*.md")); n != 318 {
t.Fatalf("component docs = %d, want 318", n)
}
pages := map[string]int{}
for _, src := range readGlob(t, "examples/gallery/pages_*.go") {
for _, m := range docsPageID.FindAllStringSubmatch(src, -1) {