Skip to content

Commit be03cf3

Browse files
committed
Update docs navigation and meta config structure
Simplifies navigation links in layout.config.tsx to a single 'Documentation' entry and comments out others. Adds or removes 'root' property in various meta.json files to standardize documentation structure and improve organization.
1 parent 97cec06 commit be03cf3

10 files changed

Lines changed: 22 additions & 23 deletions

File tree

apps/docs/app/layout.config.tsx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@ export const baseOptions: BaseLayoutProps = {
1818
},
1919
links: [
2020
{
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',
21+
text: 'Documentation',
22+
url: '/docs/',
3823
active: 'nested-url',
3924
},
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+
// },
4040
],
4141
githubUrl: 'https://github.com/objectstack-ai/spec',
4242
};

content/docs/concepts/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"title": "Concepts",
3+
"root": true,
34
"pages": [
45
"manifesto",
56
"core-values",

content/docs/guides/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"title": "Developer Guides",
3+
"root": true,
34
"pages": [
45
"getting-started",
56
"installation",

content/docs/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"title": "Documentation",
33
"pages": [
4-
"index",
54
"guides",
65
"concepts",
76
"specifications",
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"title": "AI Protocol",
3-
"root": true
2+
"title": "AI Protocol"
43
}

content/docs/references/data/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Data Protocol",
3-
"root": true,
43
"pages": [
54
"core",
65
"logic",

content/docs/references/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"label": "Protocol Reference",
3+
"root": true,
34
"order": 100,
45
"pages": [
56
"data",

content/docs/references/system/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "System Protocol",
3-
"root": true,
43
"pages": [
54
"identity",
65
"integration",

content/docs/references/ui/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "UI Protocol",
3-
"root": true,
43
"pages": [
54
"app",
65
"views",

content/docs/specifications/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"title": "Specifications",
3+
"root": true,
34
"pages": [
45
"data",
56
"ui",

0 commit comments

Comments
 (0)