mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
## Problem Within the KB, we'll be adding a specific type of content primarily aimed at LLM crawlers (similar in scope to https://vercel.com/i / https://www.runpod.io/articles / https://www.braintrust.dev/articles). These topics don't need as much visibility for human end users of the site, especially within a) the site navigation and b) the KB homepage. ## Solution To allow some topics to be less emphasized, this PR adds in a new `visible` field to elements of the `TOPICS` array and then uses that field to filter out entries from the homepage (pinned topics, all topics) and the navigation (Nav.tsx). This is a more minimal approach than #51099, which was attempting to create a different folder / schema / layout for these entries. ## Preview links https://kb-git-kb-comparsion-topic-supabase.vercel.app/kb, which excludes `Comparison` from the top nav and the `All topics` section. https://kb-git-kb-comparsion-topic-supabase.vercel.app/kb/topics/comparison, which still renders pages tagged with `Comparison`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Updates** * The Comparison topic no longer appears in the main navigation or homepage topic sections, including pinned topics. Its listing page remains available. * Other topics continue to appear in navigation and homepage sections, with their labels and links unchanged. * Homepage pinned topics are selected from the topics shown in the homepage sections. <!-- end of auto-generated comment: release notes by coderabbit.ai -->