Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions shared/utils/docsSections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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[] = [
Expand Down Expand Up @@ -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) =>
Expand Down
Loading