Skip to content

Commit f85a3c7

Browse files
committed
Add release notes section and reorganize docs links
1 parent bc99565 commit f85a3c7

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

apps/website/app/(home)/layout.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,15 @@ const links = [
2020
text: "Presets",
2121
url: "/docs/presets",
2222
},
23-
{
24-
active: "nested-url",
25-
text: "Roadmap",
26-
url: "/docs/roadmap",
27-
},
2823
{
2924
active: "nested-url",
3025
text: "Changelog",
3126
url: "/docs/changelog",
3227
},
3328
{
3429
active: "nested-url",
35-
text: "Community",
36-
url: "/docs/community",
30+
text: "Release Notes",
31+
url: "/docs/release-notes",
3732
},
3833
] as const satisfies LinkItemType[];
3934

apps/website/content/docs/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"---Project Information---",
1111
"roadmap",
1212
"changelog",
13+
"release-notes",
1314
"faq",
1415
"glossary",
1516
"community",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"title": "Release Notes",
3+
"pages": [
4+
"v2.0.0"
5+
]
6+
}
File renamed without changes.

apps/website/next.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ const config = {
6969
destination: "/docs/roadmap",
7070
permanent: true,
7171
},
72+
{
73+
source: "/docs/release-notes",
74+
destination: "/docs/release-notes/v2.0.0",
75+
permanent: true,
76+
},
7277
{
7378
source: "/presets/:wildcard",
7479
destination: "/docs/presets/:wildcard",

0 commit comments

Comments
 (0)