en.ts 2.9 KB

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