Skip to content

Commit bc9d164

Browse files
committed
Add navigation links to layout config
Introduces a 'links' array to the baseOptions in layout.config.tsx, providing navigation items for Guides, Concepts, Specs, and Reference sections.
1 parent c5aaa7a commit bc9d164

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

apps/docs/app/layout.config.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,27 @@ export const baseOptions: BaseLayoutProps = {
1616
),
1717
transparentMode: 'top',
1818
},
19+
links: [
20+
{
21+
text: 'Guides',
22+
url: '/docs/guides/getting-started',
23+
active: 'nested-url',
24+
},
25+
{
26+
text: 'Concepts',
27+
url: '/docs/concepts/manifesto',
28+
active: 'nested-url',
29+
},
30+
{
31+
text: 'Specs',
32+
url: '/docs/specifications/data/architecture',
33+
active: 'nested-url',
34+
},
35+
{
36+
text: 'Reference',
37+
url: '/docs/references/data/core/Object',
38+
active: 'nested-url',
39+
},
40+
],
1941
githubUrl: 'https://github.com/objectstack-ai/spec',
2042
};

0 commit comments

Comments
 (0)