en.ts 3.0 KB

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