en.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import {LocaleSpecificConfig, DefaultTheme} from "vitepress"
  2. export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  3. themeConfig: {
  4. nav: [
  5. {text: 'Home', link: '/'},
  6. {text: 'Guide', link: '/guide/about'},
  7. {text: 'Demo', link: 'https://demo.nginxui.com'}
  8. ],
  9. sidebar: {
  10. '/guide/': [
  11. {
  12. text: 'Introduction',
  13. collapsed: false,
  14. items: [
  15. {text: 'What is Nginx UI?', link: '/guide/about'},
  16. {text: 'Getting Started', link: '/guide/getting-started'},
  17. {text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example'},
  18. {text: 'Contributing', link: '/guide/contributing'},
  19. {text: 'License', link: '/guide/license'}
  20. ]
  21. },
  22. {
  23. text: 'Configuration',
  24. collapsed: false,
  25. items: [
  26. {text: 'Server', link: '/guide/config-server'},
  27. {text: 'Nginx Log', link: '/guide/config-nginx-log'},
  28. {text: 'Open AI', link: '/guide/config-openai'}
  29. ]
  30. }
  31. ],
  32. },
  33. }
  34. }