Use Vuepress to generate a static site for docs.
This commit is contained in:
12
docs/.vuepress/configs/navbar/en.ts
Normal file
12
docs/.vuepress/configs/navbar/en.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { NavbarConfig } from '@vuepress/theme-default'
|
||||
|
||||
export const navbarEn: NavbarConfig = [
|
||||
{
|
||||
text: 'Guide',
|
||||
link: '/',
|
||||
},
|
||||
{
|
||||
text: 'Changelog',
|
||||
link: 'https://github.com/WongSaang/chatgpt-ui/releases'
|
||||
}
|
||||
]
|
||||
2
docs/.vuepress/configs/navbar/index.ts
Normal file
2
docs/.vuepress/configs/navbar/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from './en.js'
|
||||
export * from './zh.js'
|
||||
12
docs/.vuepress/configs/navbar/zh.ts
Normal file
12
docs/.vuepress/configs/navbar/zh.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { NavbarConfig } from '@vuepress/theme-default'
|
||||
|
||||
export const navbarZh: NavbarConfig = [
|
||||
{
|
||||
text: '指南',
|
||||
link: '/zh/',
|
||||
},
|
||||
{
|
||||
text: '更新日志',
|
||||
link: 'https://github.com/WongSaang/chatgpt-ui/releases',
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user