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

Commit c1fa78c

Browse files
committed
gh
1 parent ff7aa9c commit c1fa78c

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

astro.config.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,37 +27,37 @@ export default defineConfig({
2727
label: '/',
2828
items: [
2929
{
30-
label: 'Quick start', link: '/twinny-docs/general/quick-start',
30+
label: 'Quick start', link: '/general/quick-start',
3131
translations: {
3232
'zh-CN': '快速开始'
3333
}
3434
},
35-
{ label: 'Inference providers', link: '/twinny-docs/general/providers',
35+
{ label: 'Inference providers', link: '/general/providers',
3636
translations: {
3737
'zh-CN': '推理提供者'
3838
}
3939
},
40-
{ label: 'Supported models', link: '/twinny-docs/general/supported-models',
40+
{ label: 'Supported models', link: '/general/supported-models',
4141
translations: {
4242
'zh-CN': '支持的模型'
4343
}
4444
},
45-
{ label: 'Chat', link: '/twinny-docs/general/chat',
45+
{ label: 'Chat', link: '/general/chat',
4646
translations: {
4747
'zh-CN': '对话'
4848
}
4949
},
50-
{ label: 'Fill in middle', link: '/twinny-docs/general/fill-in-middle',
50+
{ label: 'Fill in middle', link: '/general/fill-in-middle',
5151
translations: {
5252
'zh-CN': '自动补全'
5353
}
5454
},
55-
{ label: 'Keyboard shortcuts', link: '/twinny-docs/general/keyboard-shortcuts',
55+
{ label: 'Keyboard shortcuts', link: '/general/keyboard-shortcuts',
5656
translations: {
5757
'zh-CN': '键盘快捷键'
5858
}
5959
},
60-
{ label: 'Symmetry Network', link: '/twinny-docs/general/symmetry',
60+
{ label: 'Symmetry Network', link: '/general/symmetry',
6161
translations: {
6262
'zh-CN': 'Symmetry网络'
6363
}

src/content/docs/general/fill-in-middle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ If you prefer to trigger code completion manually:
1313

1414
twinny uses the same default keyboard shortcut (`Alt+\`) for manual code completion as GitHub Copilot. If you have both extensions enabled with this shortcut, it can lead to conflicts. To resolve this, you may need to disable this shortcut in one of the extensions or reconfigure it in your VS Code keyboard shortcut settings (e.g., assign a different shortcut to twinny's "Trigger Completion" command).
1515

16-
For more information on models that support the fill-in-the-middle technique, see the [Supported Models page](/general/supported-models/).
16+
For more information on models that support the fill-in-the-middle technique, see the [Supported Models page](/twinny-docs/general/supported-models/).

src/content/docs/general/providers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Ollama is configured as the default inference provider for twinny.
2929

3030
### twinny.dev (Symmetry Network)
3131

32-
twinny.dev offers an OpenAI-compatible API, enabling interaction with the [Symmetry network](/general/symmetry) using the standard OpenAI API format. This facilitates easy integration with applications already compatible with the OpenAI API.
32+
twinny.dev offers an OpenAI-compatible API, enabling interaction with the [Symmetry network](/twinny-docs/general/symmetry) using the standard OpenAI API format. This facilitates easy integration with applications already compatible with the OpenAI API.
3333

3434
#### Chat
3535

@@ -204,4 +204,4 @@ This method allows for easy access to the Symmetry network without needing to ma
204204
> - Your requests are processed by other nodes within the peer-to-peer Symmetry network.
205205
> - Be mindful of data sensitivity when using any distributed or third-party network.
206206
> - The availability and performance of models can vary depending on the network state.
207-
> - For more details on Symmetry itself, refer to the [Symmetry documentation](/general/symmetry).
207+
> - For more details on Symmetry itself, refer to the [Symmetry documentation](/twinny-docs/general/symmetry).

src/content/docs/general/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The recommended way to set this up is by using [Ollama](https://ollama.com/). Ol
2222
ollama pull codellama:7b-instruct
2323
```
2424

25-
To run this model, or another of your choice (see the [Supported Models page](/general/supported-models/) for more options), use:
25+
To run this model, or another of your choice (see the [Supported Models page](/twinny-docs/supported-models/) for more options), use:
2626

2727
```sh
2828
ollama run your-chosen-model-name

src/content/docs/general/symmetry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Symmetry is accessible through an OpenAI-compatible API endpoint hosted at `http
2222

2323
### Authentication
2424

25-
To use the `https://twinny.dev` API endpoint, you will need an API key. Refer to the [twinny.dev provider settings in twinny](/general/providers/#twinnydev-symmetry-network) for details on obtaining and using an API key.
25+
To use the `https://twinny.dev` API endpoint, you will need an API key. Refer to the [twinny.dev provider settings in twinny](/twinny-docs/general/providers/#twinnydev-symmetry-network) for details on obtaining and using an API key.
2626

2727
### Example Request (Chat Completions)
2828

src/content/docs/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hero:
1111
Your free and private AI assistant for VS Code. Get auto-complete suggestions, chat with AI, and more.
1212
actions:
1313
- text: Getting Started
14-
link: /general/quick-start
14+
link: /twinny-docs/general/quick-start
1515
icon: right-arrow
1616
variant: secondary
1717
---
@@ -24,22 +24,22 @@ import { Card, CardGrid, LinkCard } from "@astrojs/starlight/components";
2424
<LinkCard
2525
title="Getting Started"
2626
description="A quick start guide for using twinny"
27-
href="/general/quick-start"
27+
href="/twinny-docs/general/quick-start"
2828
/>
2929
<LinkCard
3030
title="Inference Providers"
31-
href="/general/providers"
31+
href="/twinny-docs/general/providers"
3232
description="Learn how to use an inference provider with twinny"
3333
></LinkCard>
3434
<LinkCard
3535
title="Supported Models"
3636
description="Learn about the supported AI models"
37-
href="/general/supported-models"
37+
href="/twinny-docs/general/supported-models"
3838
></LinkCard>
3939
<LinkCard
4040
title="Symmetry"
4141
description="The distributed AI inference network"
42-
href="/general/symmetry"
42+
href="/twinny-docs/general/symmetry"
4343
></LinkCard>
4444
</CardGrid>
4545

src/content/docs/zh-cn/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hero:
1111
Visual Studio Code 的免费私有 AI 扩展。有自动补全代码、与 AI 对话等功能。
1212
actions:
1313
- text: 开始使用
14-
link: /zh-cn/general/quick-start
14+
link: /zh-cn/twinny-docs/general/quick-start
1515
icon: right-arrow
1616
variant: secondary
1717
---
@@ -24,22 +24,22 @@ import { Card, CardGrid, LinkCard } from "@astrojs/starlight/components";
2424
<LinkCard
2525
title="快速开始"
2626
description="一个针对使用 twinny 的快速入门指南"
27-
href="/zh-cn/general/quick-start"
27+
href="twinny-docs/zh-cn/general/quick-start"
2828
/>
2929
<LinkCard
3030
title="推理提供者"
3131
description="了解如何在 twinny 中使用推理提供者"
32-
href="/zh-cn/general/providers"
32+
href="twinny-docs/zh-cn/general/providers"
3333
></LinkCard>
3434
<LinkCard
3535
title="支持的模型"
3636
description="了解 twinny 支持的 AI 模型"
37-
href="/zh-cn/general/supported-models"
37+
href="twinny-docs/zh-cn/general/supported-models"
3838
></LinkCard>
3939
<LinkCard
4040
title="Symmetry"
4141
description="去中心化的 AI 推理网络"
42-
href="/zh-cn/general/symmetry"
42+
href="twinny-docs/zh-cn/general/symmetry"
4343
></LinkCard>
4444
</CardGrid>
4545

0 commit comments

Comments
 (0)