en.ts 3.1 KB

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