@@ -6,6 +6,10 @@ import tailwind from '@astrojs/tailwind';
66export default defineConfig ( {
77 site : 'https://twinnydotdev.github.io' ,
88 base : '/twinny-docs' ,
9+ server : {
10+ host : true ,
11+ port : 3008
12+ } ,
913 integrations : [
1014 starlight ( {
1115 title : 'twinny' ,
@@ -23,46 +27,41 @@ export default defineConfig({
2327 label : '/' ,
2428 items : [
2529 {
26- label : 'Quick start' , link : '/general/quick-start' ,
30+ label : 'Quick start' , link : '/twinny-docs/ general/quick-start' ,
2731 translations : {
2832 'zh-CN' : '快速开始'
2933 }
3034 } ,
31- { label : 'Inference providers' , link : '/general/providers' ,
35+ { label : 'Inference providers' , link : '/twinny-docs/ general/providers' ,
3236 translations : {
3337 'zh-CN' : '推理提供者'
3438 }
3539 } ,
36- { label : 'Supported models' , link : '/general/supported-models' ,
40+ { label : 'Supported models' , link : '/twinny-docs/ general/supported-models' ,
3741 translations : {
3842 'zh-CN' : '支持的模型'
3943 }
4044 } ,
41- { label : 'Chat' , link : '/general/chat' ,
45+ { label : 'Chat' , link : '/twinny-docs/ general/chat' ,
4246 translations : {
4347 'zh-CN' : '对话'
4448 }
4549 } ,
46- { label : 'Fill in middle' , link : '/general/fill-in-middle' ,
50+ { label : 'Fill in middle' , link : '/twinny-docs/ general/fill-in-middle' ,
4751 translations : {
4852 'zh-CN' : '自动补全'
4953 }
5054 } ,
51- { label : 'Keyboard shortcuts' , link : '/general/keyboard-shortcuts' ,
55+ { label : 'Keyboard shortcuts' , link : '/twinny-docs/ general/keyboard-shortcuts' ,
5256 translations : {
5357 'zh-CN' : '键盘快捷键'
5458 }
5559 } ,
56- { label : 'Symmetry Network' , link : '/general/symmetry' ,
60+ { label : 'Symmetry Network' , link : '/twinny-docs/ general/symmetry' ,
5761 translations : {
5862 'zh-CN' : 'Symmetry网络'
5963 }
6064 } ,
61- { label : 'Support twinny' , link : '/general/support-twinny' ,
62- translations : {
63- 'zh-CN' : '支持twinny'
64- }
65- } ,
6665 ] ,
6766 } ,
6867 ] ,
0 commit comments