From e8c736ea005796626bb9e911ad14e00b1214ecb3 Mon Sep 17 00:00:00 2001 From: James White Date: Tue, 2 Jun 2026 14:39:29 +0100 Subject: [PATCH] prominent licensing link --- shared/utils/docsSections.ts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/shared/utils/docsSections.ts b/shared/utils/docsSections.ts index df65678b..44ac2743 100644 --- a/shared/utils/docsSections.ts +++ b/shared/utils/docsSections.ts @@ -7,9 +7,10 @@ export type DocsSectionId | 'frameworks' | 'reference' | 'api' - | 'community'; + | 'community' + | 'licensing'; -export type DocsGroupId = 'docs' | 'reference' | 'legacy-reference' | 'examples'; +export type DocsGroupId = 'docs' | 'reference' | 'legacy-reference' | 'examples' | 'licensing'; export interface DocsSection { id: DocsSectionId; @@ -91,6 +92,13 @@ export const docsSections: DocsSection[] = [ prefixes: ['/community', '/releases'], icon: 'material-symbols:groups-outline', }, + { + id: 'licensing', + label: 'Licensing', + to: '/licensing/overview', + prefixes: ['/licensing'], + icon: 'material-symbols:key-outline', + }, ]; export const docsGroups: DocsGroup[] = [ @@ -122,6 +130,13 @@ export const docsGroups: DocsGroup[] = [ icon: 'material-symbols:article-outline', sectionIds: ['tutorials'], }, + { + id: 'licensing', + label: 'Licensing', + to: '/licensing/overview', + icon: 'material-symbols:key-outline', + sectionIds: ['licensing'], + }, ]; export const matchesPrefix = (path: string, prefix: string) =>