en.ts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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: 'Build', link: '/guide/build'},
  26. {text: 'Project Structure', link: '/guide/project-structure'},
  27. {text: 'Config Template', link: '/guide/nginx-ui-template'},
  28. {text: 'Contributing', link: '/guide/contributing'}
  29. ]
  30. },
  31. {
  32. text: 'Configuration',
  33. collapsed: false,
  34. items: [
  35. {text: 'Server', link: '/guide/config-server'},
  36. {text: 'Nginx', link: '/guide/config-nginx'},
  37. {text: 'Open AI', link: '/guide/config-openai'},
  38. {text: 'Casdoor', link: '/guide/config-casdoor'},
  39. {text: 'Logrotate', link: '/guide/config-logrotate'},
  40. {text: 'Cluster', link: '/guide/config-cluster'}
  41. ]
  42. },
  43. {
  44. text: 'Appendix',
  45. collapsed: false,
  46. items: [
  47. {text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example'},
  48. {text: 'License', link: '/guide/license'}
  49. ]
  50. }
  51. ]
  52. }
  53. }
  54. }