en.ts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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: 'Sponsor', link: '/sponsor' },
  9. { text: 'Demo', link: demoUrl }
  10. ],
  11. sidebar: {
  12. '/guide/': [
  13. {
  14. text: 'Introduction',
  15. collapsed: false,
  16. items: [
  17. { text: 'What is Nginx UI?', link: '/guide/about' },
  18. { text: 'Getting Started', link: '/guide/getting-started' },
  19. { text: 'Install with Homebrew', link: '/guide/install-homebrew' },
  20. { text: 'Install with Winget', link: '/guide/install-winget' },
  21. { text: 'Install Script', link: '/guide/install-script-linux' }
  22. ]
  23. },
  24. {
  25. text: 'Development',
  26. collapsed: false,
  27. items: [
  28. { text: 'Devcontainer', link: '/guide/devcontainer' },
  29. { text: 'Build', link: '/guide/build' },
  30. { text: 'Project Structure', link: '/guide/project-structure' },
  31. { text: 'Config Template', link: '/guide/nginx-ui-template' },
  32. { text: 'Contributing', link: '/guide/contributing' }
  33. ]
  34. },
  35. {
  36. text: 'MCP',
  37. collapsed: false,
  38. items: [
  39. { text: 'Overview', link: '/guide/mcp' },
  40. { text: 'Configuration Management', link: '/guide/mcp-config' },
  41. { text: 'Nginx Service Management', link: '/guide/mcp-nginx' },
  42. ]
  43. },
  44. {
  45. text: 'Configuration',
  46. collapsed: false,
  47. items: [
  48. { text: 'App', link: '/guide/config-app' },
  49. { text: 'Auth', link: '/guide/config-auth' },
  50. { text: 'Backup', link: '/guide/config-backup' },
  51. { text: 'Casdoor', link: '/guide/config-casdoor' },
  52. { text: 'Cert', link: '/guide/config-cert' },
  53. { text: 'Cluster', link: '/guide/config-cluster' },
  54. { text: 'Crypto', link: '/guide/config-crypto' },
  55. { text: 'Database', link: '/guide/config-database' },
  56. { text: 'Http', link: '/guide/config-http' },
  57. { text: 'Logrotate', link: '/guide/config-logrotate' },
  58. { text: 'Nginx', link: '/guide/config-nginx' },
  59. { text: 'Node', link: '/guide/config-node' },
  60. { text: 'Open AI', link: '/guide/config-openai' },
  61. { text: 'Server', link: '/guide/config-server' },
  62. { text: 'Terminal', link: '/guide/config-terminal' },
  63. { text: 'Webauthn', link: '/guide/config-webauthn' }
  64. ]
  65. },
  66. {
  67. text: 'Environment Variables',
  68. collapsed: false,
  69. items: [
  70. { text: 'Reference', link: '/guide/env' },
  71. ]
  72. },
  73. {
  74. text: 'Appendix',
  75. collapsed: false,
  76. items: [
  77. { text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example' },
  78. { text: 'Reset Password', link: '/guide/reset-password' },
  79. { text: 'License', link: '/guide/license' }
  80. ]
  81. }
  82. ]
  83. }
  84. }
  85. }