en.ts 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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: 'Translation', link: '/guide/dev-translate' },
  33. { text: 'Contributing', link: '/guide/contributing' }
  34. ]
  35. },
  36. {
  37. text: 'MCP',
  38. collapsed: false,
  39. items: [
  40. { text: 'Overview', link: '/guide/mcp' },
  41. { text: 'Configuration Management', link: '/guide/mcp-config' },
  42. { text: 'Nginx Service Management', link: '/guide/mcp-nginx' },
  43. ]
  44. },
  45. {
  46. text: 'Configuration',
  47. collapsed: false,
  48. items: [
  49. { text: 'App', link: '/guide/config-app' },
  50. { text: 'Auth', link: '/guide/config-auth' },
  51. { text: 'Backup', link: '/guide/config-backup' },
  52. { text: 'Casdoor', link: '/guide/config-casdoor' },
  53. { text: 'Cert', link: '/guide/config-cert' },
  54. { text: 'Cluster', link: '/guide/config-cluster' },
  55. { text: 'Crypto', link: '/guide/config-crypto' },
  56. { text: 'Database', link: '/guide/config-database' },
  57. { text: 'Http', link: '/guide/config-http' },
  58. { text: 'Logrotate', link: '/guide/config-logrotate' },
  59. { text: 'Nginx', link: '/guide/config-nginx' },
  60. { text: 'Nginx Log', link: '/guide/config-nginx-log' },
  61. { text: 'Node', link: '/guide/config-node' },
  62. { text: 'Open AI', link: '/guide/config-openai' },
  63. { text: 'Server', link: '/guide/config-server' },
  64. { text: 'Terminal', link: '/guide/config-terminal' },
  65. { text: 'Webauthn', link: '/guide/config-webauthn' }
  66. ]
  67. },
  68. {
  69. text: 'Environment Variables',
  70. collapsed: false,
  71. items: [
  72. { text: 'Reference', link: '/guide/env' },
  73. ]
  74. },
  75. {
  76. text: 'Appendix',
  77. collapsed: false,
  78. items: [
  79. { text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example' },
  80. { text: 'Reset Password', link: '/guide/reset-password' },
  81. { text: 'License', link: '/guide/license' }
  82. ]
  83. }
  84. ]
  85. }
  86. }
  87. }