en.ts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import { LocaleSpecificConfig, DefaultTheme } from 'vitepress'
  2. import { demoUrl } from './common'
  3. export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  4. themeConfig: {
  5. nav: [
  6. { text: 'Home', link: '/' },
  7. { text: 'Guide', link: '/guide/about' },
  8. { text: 'Demo', link: demoUrl }
  9. ],
  10. sidebar: {
  11. '/guide/': [
  12. {
  13. text: 'Introduction',
  14. collapsed: false,
  15. items: [
  16. { text: 'What is Nginx UI?', link: '/guide/about' },
  17. { text: 'Getting Started', link: '/guide/getting-started' },
  18. { text: 'Install Script', link: '/guide/install-script-linux' }
  19. ]
  20. },
  21. {
  22. text: 'Development',
  23. collapsed: false,
  24. items: [
  25. { text: 'Build', link: '/guide/build' },
  26. { text: 'Project Structure', link: '/guide/project-structure' },
  27. { text: 'Config Template', link: '/guide/nginx-ui-template' },
  28. { text: 'Contributing', link: '/guide/contributing' }
  29. ]
  30. },
  31. {
  32. text: 'Configuration',
  33. collapsed: false,
  34. items: [
  35. { text: 'App', link: '/guide/config-app' },
  36. { text: 'Server', link: '/guide/config-server' },
  37. { text: 'Database', link: '/guide/config-database' },
  38. { text: 'Auth', link: '/guide/config-auth' },
  39. { text: 'Casdoor', link: '/guide/config-casdoor' },
  40. { text: 'Cert', link: '/guide/config-cert' },
  41. { text: 'Cluster', link: '/guide/config-cluster' },
  42. { text: 'Crypto', link: '/guide/config-crypto' },
  43. { text: 'Http', link: '/guide/config-http' },
  44. { text: 'Logrotate', link: '/guide/config-logrotate' },
  45. { text: 'Nginx', link: '/guide/config-nginx' },
  46. { text: 'Node', link: '/guide/config-node' },
  47. { text: 'Open AI', link: '/guide/config-openai' },
  48. { text: 'Terminal', link: '/guide/config-terminal' },
  49. { text: 'Webauthn', link: '/guide/config-webauthn' }
  50. ]
  51. },
  52. {
  53. text: 'Environment Variables',
  54. collapsed: false,
  55. items: [
  56. { text: 'Reference', link: '/guide/env' },
  57. ]
  58. },
  59. {
  60. text: 'Appendix',
  61. collapsed: false,
  62. items: [
  63. { text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example' },
  64. { text: 'License', link: '/guide/license' }
  65. ]
  66. }
  67. ]
  68. }
  69. }
  70. }