Skip to content

Commit

Permalink
hide listbox from menu for now
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Jul 12, 2024
1 parent 3b1e18a commit cd76910
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sites/docs/src/lib/config/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ export type Navigation = {
sidebar: SidebarNavItem[];
};

const filteredComponents = allComponentDocs.filter((comp) => comp.title !== "Listbox");

/**
* Generates the navigation items for the components section of the sidebar.
*/
function generateComponentsNav() {
const componentNavItems: SidebarNavItem[] = [];

for (const comp of allComponentDocs) {
for (const comp of filteredComponents) {
componentNavItems.push({
title: comp.title,
href: `/docs/components/${comp.slug}`,
Expand Down

0 comments on commit cd76910

Please sign in to comment.