|
@@ -1,12 +1,12 @@
|
|
-import {LocaleSpecificConfig, DefaultTheme} from 'vitepress'
|
|
|
|
-import {demoUrl} from './common'
|
|
|
|
|
|
+import { LocaleSpecificConfig, DefaultTheme } from 'vitepress'
|
|
|
|
+import { demoUrl } from './common'
|
|
|
|
|
|
export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
|
|
export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
|
|
themeConfig: {
|
|
themeConfig: {
|
|
nav: [
|
|
nav: [
|
|
- {text: 'Home', link: '/'},
|
|
|
|
- {text: 'Guide', link: '/guide/about'},
|
|
|
|
- {text: 'Demo', link: demoUrl}
|
|
|
|
|
|
+ { text: 'Home', link: '/' },
|
|
|
|
+ { text: 'Guide', link: '/guide/about' },
|
|
|
|
+ { text: 'Demo', link: demoUrl }
|
|
],
|
|
],
|
|
|
|
|
|
sidebar: {
|
|
sidebar: {
|
|
@@ -15,55 +15,55 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
|
|
text: 'Introduction',
|
|
text: 'Introduction',
|
|
collapsed: false,
|
|
collapsed: false,
|
|
items: [
|
|
items: [
|
|
- {text: 'What is Nginx UI?', link: '/guide/about'},
|
|
|
|
- {text: 'Getting Started', link: '/guide/getting-started'},
|
|
|
|
- {text: 'Install Script', link: '/guide/install-script-linux'}
|
|
|
|
|
|
+ { text: 'What is Nginx UI?', link: '/guide/about' },
|
|
|
|
+ { text: 'Getting Started', link: '/guide/getting-started' },
|
|
|
|
+ { text: 'Install Script', link: '/guide/install-script-linux' }
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Development',
|
|
text: 'Development',
|
|
collapsed: false,
|
|
collapsed: false,
|
|
items: [
|
|
items: [
|
|
- {text: 'Build', link: '/guide/build'},
|
|
|
|
- {text: 'Project Structure', link: '/guide/project-structure'},
|
|
|
|
- {text: 'Config Template', link: '/guide/nginx-ui-template'},
|
|
|
|
- {text: 'Contributing', link: '/guide/contributing'}
|
|
|
|
|
|
+ { text: 'Build', link: '/guide/build' },
|
|
|
|
+ { text: 'Project Structure', link: '/guide/project-structure' },
|
|
|
|
+ { text: 'Config Template', link: '/guide/nginx-ui-template' },
|
|
|
|
+ { text: 'Contributing', link: '/guide/contributing' }
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Configuration',
|
|
text: 'Configuration',
|
|
collapsed: false,
|
|
collapsed: false,
|
|
items: [
|
|
items: [
|
|
- {text: 'App', link: '/guide/config-app'},
|
|
|
|
- {text: 'Server', link: '/guide/config-server'},
|
|
|
|
- {text: 'Database', link: '/guide/config-database'},
|
|
|
|
- {text: 'Auth', link: '/guide/config-auth'},
|
|
|
|
- {text: 'Casdoor', link: '/guide/config-casdoor'},
|
|
|
|
- {text: 'Cert', link: '/guide/config-cert'},
|
|
|
|
- {text: 'Cluster', link: '/guide/config-cluster'},
|
|
|
|
- {text: 'Crypto', link: '/guide/config-crypto'},
|
|
|
|
- {text: 'Http', link: '/guide/config-http'},
|
|
|
|
- {text: 'Logrotate', link: '/guide/config-logrotate'},
|
|
|
|
- {text: 'Nginx', link: '/guide/config-nginx'},
|
|
|
|
- {text: 'Node', link: '/guide/config-node'},
|
|
|
|
- {text: 'Open AI', link: '/guide/config-openai'},
|
|
|
|
- {text: 'Terminal', link: '/guide/config-terminal'},
|
|
|
|
- {text: 'Webauthn', link: '/guide/config-webauthn'}
|
|
|
|
|
|
+ { text: 'App', link: '/guide/config-app' },
|
|
|
|
+ { text: 'Server', link: '/guide/config-server' },
|
|
|
|
+ { text: 'Database', link: '/guide/config-database' },
|
|
|
|
+ { text: 'Auth', link: '/guide/config-auth' },
|
|
|
|
+ { text: 'Casdoor', link: '/guide/config-casdoor' },
|
|
|
|
+ { text: 'Cert', link: '/guide/config-cert' },
|
|
|
|
+ { text: 'Cluster', link: '/guide/config-cluster' },
|
|
|
|
+ { text: 'Crypto', link: '/guide/config-crypto' },
|
|
|
|
+ { text: 'Http', link: '/guide/config-http' },
|
|
|
|
+ { text: 'Logrotate', link: '/guide/config-logrotate' },
|
|
|
|
+ { text: 'Nginx', link: '/guide/config-nginx' },
|
|
|
|
+ { text: 'Node', link: '/guide/config-node' },
|
|
|
|
+ { text: 'Open AI', link: '/guide/config-openai' },
|
|
|
|
+ { text: 'Terminal', link: '/guide/config-terminal' },
|
|
|
|
+ { text: 'Webauthn', link: '/guide/config-webauthn' }
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Environment Variables',
|
|
text: 'Environment Variables',
|
|
collapsed: false,
|
|
collapsed: false,
|
|
items: [
|
|
items: [
|
|
- {text: 'Reference', link: '/guide/env'},
|
|
|
|
|
|
+ { text: 'Reference', link: '/guide/env' },
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Appendix',
|
|
text: 'Appendix',
|
|
collapsed: false,
|
|
collapsed: false,
|
|
items: [
|
|
items: [
|
|
- {text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example'},
|
|
|
|
- {text: 'License', link: '/guide/license'}
|
|
|
|
|
|
+ { text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example' },
|
|
|
|
+ { text: 'License', link: '/guide/license' }
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
]
|