Skip to content

Commit 9c68f74

Browse files
authored
docs(config.mts): direct link to edit & GitHub
1 parent d7dc76c commit 9c68f74

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/.vitepress/config.mts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ export default defineConfig({
1616
'/docs/': sideNavDocs(),
1717
},
1818

19+
editLink: {
20+
pattern: 'https://github.com/nxext/nx-extensions/tree/main/docs/:path',
21+
text: 'Edit this page on GitHub',
22+
},
23+
24+
socialLinks: [
25+
{
26+
icon: 'discord',
27+
link: 'https://discord.gg/SWyp4xfGjn',
28+
},
29+
{ icon: 'github', link: 'https://github.com/nxext/nx-extensions' },
30+
],
31+
1932
footer: {
2033
message:
2134
'MIT Licensed | Copyright © 2020-present Nxext Developers & Contributors',
@@ -29,19 +42,6 @@ function nav() {
2942
return [
3043
{ text: 'Guide', link: '/guide/' },
3144
{ text: 'Docs', link: '/docs/nxext/overview' },
32-
{
33-
text: 'Links',
34-
items: [
35-
{
36-
text: 'Nx Discord Chat',
37-
link: 'https://discord.gg/SWyp4xfGjn',
38-
},
39-
{
40-
text: 'Github',
41-
link: 'https://github.com/nxext/nx-extensions',
42-
},
43-
],
44-
},
4545
];
4646
}
4747

0 commit comments

Comments
 (0)