en.ts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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: 'Contributing', link: '/guide/contributing'}
  28. ]
  29. },
  30. {
  31. text: 'Configuration',
  32. collapsed: false,
  33. items: [
  34. {text: 'Server', link: '/guide/config-server'},
  35. {text: 'Nginx Log', link: '/guide/config-nginx-log'},
  36. {text: 'Open AI', link: '/guide/config-openai'}
  37. ]
  38. },
  39. {
  40. text: 'Appendix',
  41. collapsed: false,
  42. items: [
  43. {text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example'},
  44. {text: 'License', link: '/guide/license'}
  45. ]
  46. }
  47. ],
  48. },
  49. }
  50. }