Skip to content

Commit 72a935b

Browse files
committed
docs: fixes
1 parent 49a35aa commit 72a935b

File tree

6 files changed

+1859
-1884
lines changed

6 files changed

+1859
-1884
lines changed

docs/astro.config.mjs

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ export const locales = {
88

99
// https://astro.build/config
1010
export default defineConfig({
11+
markdown: {
12+
syntaxHighlight: 'shiki',
13+
shikiConfig: {
14+
theme: 'tokyo-night',
15+
wrap: true,
16+
themes: {
17+
light: 'github-light',
18+
dark: 'tokyo-night',
19+
},
20+
},
21+
},
1122
integrations: [
1223
starlight({
1324
title: 'ngxtension',
@@ -18,10 +29,18 @@ export default defineConfig({
1829
replacesTitle: true,
1930
},
2031
favicon: './ngxt-blue.svg',
21-
social: {
22-
github: 'https://github.com/nartc/ngxtension-platform',
23-
twitter: 'https://twitter.com/Nartc1410',
24-
},
32+
social: [
33+
{
34+
label: 'GitHub',
35+
icon: 'github',
36+
href: 'https://github.com/ngxtension/ngxtension-platform',
37+
},
38+
{
39+
label: 'Twitter',
40+
icon: 'twitter',
41+
href: 'https://twitter.com/Nartc1410',
42+
},
43+
],
2544
customCss: ['./src/styles/custom.css'],
2645
lastUpdated: true,
2746
sidebar: [

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/starlight": "^0.22.0",
14-
"astro": "^4.7.0",
13+
"@astrojs/starlight": "^0.35.2",
14+
"astro": "^5.13.7",
1515
"sharp": "^0.33.3"
1616
}
1717
}

0 commit comments

Comments
 (0)