Skip to content

Commit

Permalink
Docs (#125)
Browse files Browse the repository at this point in the history
* Fix contents.

* Fix doc titles.
  • Loading branch information
cryscan authored May 24, 2024
1 parent a14ea60 commit 720569e
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 24 deletions.
33 changes: 17 additions & 16 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ export default defineConfig({
base: '/ai00_server/',
lastUpdated: true,
cleanUrls: true,
appearance:'dark',
appearance: 'dark',
markdown: {
math: true
},

themeConfig: {
// https://vitepress.dev/reference/default-theme-config
search: {
provider: 'local'
},
socialLinks: [
socialLinks: [
{ icon: 'github', link: 'https://github.com/Ai00-X/ai00_server' }
],

Expand Down Expand Up @@ -50,14 +50,15 @@ export default defineConfig({
base: '/doc-guide/',
items: [
{ text: '了解 Ai00', link: '/what-is-ai00' },
{ text: '快速上手',
{
text: '快速上手',
collapsed: false,
items: [

{ text: '下载编译包', link: '/release' },
{ text: '从源码安装', link: '/source-install' },
{ text: '配置文件', link: '/config' },
{ text: '下载编译包', link: '/release' },
{ text: '从源码安装', link: '/source-install' },
{ text: '配置文件', link: '/config' },

]
},
]
Expand All @@ -70,22 +71,22 @@ export default defineConfig({
items: [
{ text: '模型命名规范', link: '/models-name' },
{ text: 'RWKV基座模型', link: '/rwkv-base' },
{ text: 'LoRA模型', link: '/lora-model' },
{ text: 'State模型', link: '/state-model' },
{ text: 'LoRA', link: '/lora-model' },
{ text: '初始State', link: '/state-model' },
]
}
}
,
{
text: 'WebUI',
collapsed: false,
base: '/doc-webui/',
items: [
{ text: 'WebUI配置', link: '/webui-config' },
{ text: 'chat例子', link: '/example-chat' },
{ text: 'write例子', link: '/example-write' },
{ text: '对话例子', link: '/example-chat' },
{ text: '续写例子', link: '/example-write' },
{ text: '并发例子', link: '/example-batch' },
]
}
}
,
{
text: 'API',
Expand All @@ -94,7 +95,7 @@ export default defineConfig({
items: [
{ text: 'API接口列表', link: '/openai' },
{ text: '调试API', link: '/debug-api' },
{
{
text: 'SDK调用',
base: 'sdk/',
collapsed: false,
Expand Down Expand Up @@ -128,6 +129,6 @@ export default defineConfig({
// other locale specific properties...
}
}


})
2 changes: 1 addition & 1 deletion docs/doc-api/debug-api.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Debug API

This API is used for debugging purposes.
This API is used for debugging.
2 changes: 1 addition & 1 deletion docs/doc-api/openai.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#openai
# OpenAI API
2 changes: 1 addition & 1 deletion docs/doc-models/lora-model.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# LoRA 模型
# LoRA

## 介绍
2 changes: 1 addition & 1 deletion docs/doc-models/state-model.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# State 模型
# 初始State
2 changes: 1 addition & 1 deletion docs/doc-webui/example-batch.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Example Batch
# 并发例子
2 changes: 1 addition & 1 deletion docs/doc-webui/example-chat.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# example chat
# 对话例子
2 changes: 1 addition & 1 deletion docs/doc-webui/example-write.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# example-write
# 续写例子
2 changes: 1 addition & 1 deletion docs/doc-webui/webui-config.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# WEBUI CONFIG
# WebUI配置

0 comments on commit 720569e

Please sign in to comment.