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
57
docs/.vitepress/config.mts
Normal file
57
docs/.vitepress/config.mts
Normal file
|
@ -0,0 +1,57 @@
|
|||
import { defineConfig } from 'vitepress'
|
||||
import { zhHansThemeConfig } from '../zh-Hans/config'
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
title: "Sub-CLI",
|
||||
description: "The Subtitle Manipulation CLI",
|
||||
locales: {
|
||||
root: {
|
||||
label: 'English',
|
||||
lang: 'en'
|
||||
},
|
||||
'zh-Hans': {
|
||||
label: '简体中文',
|
||||
lang: 'zh-Hans',
|
||||
themeConfig: zhHansThemeConfig
|
||||
},
|
||||
},
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ text: 'Home', link: '/' },
|
||||
],
|
||||
|
||||
sidebar: [
|
||||
{
|
||||
text: 'Introduction',
|
||||
items: [
|
||||
{ text: 'Getting Started', link: '/getting-started' },
|
||||
{ text: 'Installation Guide', link: '/installation' }
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Usage',
|
||||
items: [
|
||||
{ text: 'Command Examples', link: '/examples' },
|
||||
{ text: 'Command Reference', link: '/commands' }
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Project',
|
||||
items: [
|
||||
{ text: 'Provide Feedback', link: '/feedback' }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
editLink: {
|
||||
pattern: 'https://git.owu.one/wholetrans/sub-cli/edit/main/docs/:path',
|
||||
text: 'Edit on Owu Git'
|
||||
},
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'forgejo', link: 'https://git.owu.one/wholetrans/sub-cli' }
|
||||
]
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue