|
@@ -1,12 +1,12 @@
|
|
|
-import {LocaleSpecificConfig, DefaultTheme} from 'vitepress'
|
|
|
-import {demoUrl, editLinkPattern} from './common'
|
|
|
+import { LocaleSpecificConfig, DefaultTheme } from 'vitepress'
|
|
|
+import { demoUrl, editLinkPattern } from './common'
|
|
|
|
|
|
export const zhTWConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
|
|
|
themeConfig: {
|
|
|
nav: [
|
|
|
- {text: '首頁', link: '/zh_TW/'},
|
|
|
- {text: '手冊', link: '/zh_TW/guide/about'},
|
|
|
- {text: '演示', link: demoUrl}
|
|
|
+ { text: '首頁', link: '/zh_TW/' },
|
|
|
+ { text: '手冊', link: '/zh_TW/guide/about' },
|
|
|
+ { text: '演示', link: demoUrl }
|
|
|
],
|
|
|
|
|
|
editLink: {
|
|
@@ -20,55 +20,55 @@ export const zhTWConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
|
|
|
text: '介紹',
|
|
|
collapsed: false,
|
|
|
items: [
|
|
|
- {text: '何為 Nginx UI?', link: '/zh_TW/guide/about'},
|
|
|
- {text: '即刻開始', link: '/zh_TW/guide/getting-started'},
|
|
|
- {text: '安裝指令碼', link: '/zh_TW/guide/install-script-linux'}
|
|
|
+ { text: '何為 Nginx UI?', link: '/zh_TW/guide/about' },
|
|
|
+ { text: '即刻開始', link: '/zh_TW/guide/getting-started' },
|
|
|
+ { text: '安裝指令碼', link: '/zh_TW/guide/install-script-linux' }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
text: '開發',
|
|
|
collapsed: false,
|
|
|
items: [
|
|
|
- {text: '構建', link: '/zh_TW/guide/build'},
|
|
|
- {text: '專案結構', link: '/zh_TW/guide/project-structure'},
|
|
|
- {text: '配置模板', link: '/zh_TW/guide/nginx-ui-template'},
|
|
|
- {text: '貢獻程式碼', link: '/zh_TW/guide/contributing'}
|
|
|
+ { text: '構建', link: '/zh_TW/guide/build' },
|
|
|
+ { text: '專案結構', link: '/zh_TW/guide/project-structure' },
|
|
|
+ { text: '配置模板', link: '/zh_TW/guide/nginx-ui-template' },
|
|
|
+ { text: '貢獻程式碼', link: '/zh_TW/guide/contributing' }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
text: '配置',
|
|
|
collapsed: false,
|
|
|
items: [
|
|
|
- {text: 'App', link: '/zh_TW/guide/config-app'},
|
|
|
- {text: 'Server', link: '/zh_TW/guide/config-server'},
|
|
|
- {text: 'Database', link: '/zh_TW/guide/config-database'},
|
|
|
- {text: 'Auth', link: '/zh_TW/guide/config-auth'},
|
|
|
- {text: 'Casdoor', link: '/zh_TW/guide/config-casdoor'},
|
|
|
- {text: 'Cert', link: '/zh_TW/guide/config-cert'},
|
|
|
- {text: 'Cluster', link: '/zh_TW/guide/config-cluster'},
|
|
|
- {text: 'Crypto', link: '/zh_TW/guide/config-crypto'},
|
|
|
- {text: 'Http', link: '/zh_TW/guide/config-http'},
|
|
|
- {text: 'Logrotate', link: '/zh_TW/guide/config-logrotate'},
|
|
|
- {text: 'Nginx', link: '/zh_TW/guide/config-nginx'},
|
|
|
- {text: 'Node', link: '/zh_TW/guide/config-node'},
|
|
|
- {text: 'Open AI', link: '/zh_TW/guide/config-openai'},
|
|
|
- {text: 'Terminal', link: '/zh_TW/guide/config-terminal'},
|
|
|
- {text: 'Webauthn', link: '/zh_TW/guide/config-webauthn'}
|
|
|
+ { text: 'App', link: '/zh_TW/guide/config-app' },
|
|
|
+ { text: 'Server', link: '/zh_TW/guide/config-server' },
|
|
|
+ { text: 'Database', link: '/zh_TW/guide/config-database' },
|
|
|
+ { text: 'Auth', link: '/zh_TW/guide/config-auth' },
|
|
|
+ { text: 'Casdoor', link: '/zh_TW/guide/config-casdoor' },
|
|
|
+ { text: 'Cert', link: '/zh_TW/guide/config-cert' },
|
|
|
+ { text: 'Cluster', link: '/zh_TW/guide/config-cluster' },
|
|
|
+ { text: 'Crypto', link: '/zh_TW/guide/config-crypto' },
|
|
|
+ { text: 'Http', link: '/zh_TW/guide/config-http' },
|
|
|
+ { text: 'Logrotate', link: '/zh_TW/guide/config-logrotate' },
|
|
|
+ { text: 'Nginx', link: '/zh_TW/guide/config-nginx' },
|
|
|
+ { text: 'Node', link: '/zh_TW/guide/config-node' },
|
|
|
+ { text: 'Open AI', link: '/zh_TW/guide/config-openai' },
|
|
|
+ { text: 'Terminal', link: '/zh_TW/guide/config-terminal' },
|
|
|
+ { text: 'Webauthn', link: '/zh_TW/guide/config-webauthn' }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
text: '環境變量',
|
|
|
collapsed: false,
|
|
|
items: [
|
|
|
- {text: '參考手冊', link: '/zh_TW/guide/env'},
|
|
|
+ { text: '參考手冊', link: '/zh_TW/guide/env' },
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
text: '附錄',
|
|
|
collapsed: false,
|
|
|
items: [
|
|
|
- {text: 'Nginx 代理示例', link: '/zh_TW/guide/nginx-proxy-example'},
|
|
|
- {text: '開源協議', link: '/zh_TW/guide/license'}
|
|
|
+ { text: 'Nginx 代理示例', link: '/zh_TW/guide/nginx-proxy-example' },
|
|
|
+ { text: '開源協議', link: '/zh_TW/guide/license' }
|
|
|
]
|
|
|
}
|
|
|
]
|