docs: init docs
All checks were successful
Build and Release / Build (darwin-arm64) (push) Successful in 19s
Build and Release / Build (darwin-amd64) (push) Successful in 20s
Build and Release / Build (linux-arm64) (push) Successful in 17s
Build and Release / Build (linux-amd64) (push) Successful in 20s
Build and Release / Build (windows-arm64) (push) Successful in 16s
Build and Release / Build (windows-amd64) (push) Successful in 19s
Build and Release / Create Release (push) Has been skipped
Deploy docs / deploy (push) Successful in 45s
All checks were successful
Build and Release / Build (darwin-arm64) (push) Successful in 19s
Build and Release / Build (darwin-amd64) (push) Successful in 20s
Build and Release / Build (linux-arm64) (push) Successful in 17s
Build and Release / Build (linux-amd64) (push) Successful in 20s
Build and Release / Build (windows-arm64) (push) Successful in 16s
Build and Release / Build (windows-amd64) (push) Successful in 19s
Build and Release / Create Release (push) Has been skipped
Deploy docs / deploy (push) Successful in 45s
This commit is contained in:
parent
ba66894e42
commit
deae4a6272
20 changed files with 2887 additions and 1 deletions
67
docs/zh-Hans/config.ts
Normal file
67
docs/zh-Hans/config.ts
Normal file
|
@ -0,0 +1,67 @@
|
|||
export const zhHansThemeConfig = {
|
||||
nav: [
|
||||
{ text: '首页', link: '/zh-Hans/' },
|
||||
],
|
||||
sidebar: [
|
||||
{
|
||||
text: '介绍',
|
||||
items: [
|
||||
{ text: '快速开始', link: '/zh-Hans/getting-started' },
|
||||
{ text: '安装指南', link: '/zh-Hans/installation' }
|
||||
]
|
||||
},
|
||||
{
|
||||
text: '使用',
|
||||
items: [
|
||||
{ text: '命令示例', link: '/zh-Hans/examples' },
|
||||
{ text: '命令参考', link: '/zh-Hans/commands' }
|
||||
]
|
||||
},
|
||||
{
|
||||
text: '项目',
|
||||
items: [
|
||||
{ text: '提供反馈', link: '/zh-Hans/feedback' }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
// from https://github.com/vuejs/vitepress
|
||||
editLink: {
|
||||
pattern: 'https://git.owu.one/wholetrans/sub-cli/edit/main/docs/:path',
|
||||
text: '在 Owu Git 编辑此页面'
|
||||
},
|
||||
|
||||
footer: {
|
||||
message: 'Sub-CLI 基于 AGPL-3.0 许可发布',
|
||||
copyright: `版权所有 © 2024-${new Date().getFullYear()} WholeTrans`
|
||||
},
|
||||
|
||||
docFooter: {
|
||||
prev: '上一页',
|
||||
next: '下一页'
|
||||
},
|
||||
|
||||
outline: {
|
||||
label: '页面导航'
|
||||
},
|
||||
|
||||
lastUpdated: {
|
||||
text: '最后更新于'
|
||||
},
|
||||
|
||||
notFound: {
|
||||
title: '页面未找到',
|
||||
quote: '但如果你不改变方向,并且继续寻找,你可能最终会到达你所前往的地方。',
|
||||
linkLabel: '前往首页',
|
||||
linkText: '回到首页'
|
||||
},
|
||||
|
||||
langMenuLabel: '切换语言',
|
||||
returnToTopLabel: '返回顶部',
|
||||
sidebarMenuLabel: '菜单',
|
||||
darkModeSwitchLabel: '主题',
|
||||
lightModeSwitchTitle: '切换到浅色模式',
|
||||
darkModeSwitchTitle: '切换到深色模式',
|
||||
skipToContentLabel: '跳转到内容'
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue