Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

Commit ff7aa9c

Browse files
committed
kay
1 parent 05fcbe0 commit ff7aa9c

File tree

2 files changed

+12
-22
lines changed

2 files changed

+12
-22
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,14 @@ permissions:
1010
pages: write
1111
id-token: write
1212

13-
concurrency:
14-
group: "pages"
15-
cancel-in-progress: false
16-
1713
jobs:
1814
build:
1915
runs-on: ubuntu-latest
2016
steps:
2117
- name: Checkout your repository using git
2218
uses: actions/checkout@v4
23-
2419
- name: Install, build, and upload your site
25-
uses: withastro/action@v2
26-
with:
27-
path: .
28-
node-version: 18
29-
package-manager: npm@latest
20+
uses: withastro/action@v4
3021

3122
deploy:
3223
needs: build

astro.config.mjs

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import tailwind from '@astrojs/tailwind';
66
export 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

Comments
 (0)