export interface DocsNavItem { label: string href: string } export interface DocsNavSection { title: string items: DocsNavItem[] } export const DOCS_NAV: DocsNavSection[] = [ { title: 'Getting Started', items: [ { label: 'Introduction', href: '/docs/introduction' }, { label: 'Quick Start', href: '/docs/quick-start' }, { label: 'Permissions', href: '/docs/permissions' }, { label: 'Verification', href: '/docs/verification' }, ], }, { title: 'Lexicons', items: [ { label: 'Publication', href: '/docs/lexicons/publication' }, { label: 'Document', href: '/docs/lexicons/document' }, { label: 'Subscription', href: '/docs/lexicons/subscription' }, { label: 'Theme', href: '/docs/lexicons/theme' }, ], }, { title: 'Resources', items: [ { label: 'Implementations', href: '/docs/implementations' }, { label: 'FAQ', href: '/docs/faq' }, { label: 'llms.txt', href: '/llms.txt' }, ], }, ] // Helper to get all doc slugs for static generation export function getAllDocSlugs(): string[][] { const slugs: string[][] = [] DOCS_NAV.forEach((section) => { section.items.forEach((item) => { if (item.href.includes('llms.txt')) return const slug = item.href.replace('/docs/', '').split('/') slugs.push(slug) }) }) return slugs }