config.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import sidebarEn from "./sidebar.en";
  2. import sidebarZh from "./sidebar.zh";
  3. // https://vitepress.dev/reference/site-config
  4. export default {
  5. title: "static-php-cli",
  6. description: "Build single static PHP binary, with PHP project together, with popular extensions included.",
  7. locales: {
  8. en: {
  9. label: 'English',
  10. lang: 'en',
  11. themeConfig: {
  12. nav: [
  13. {text: 'Guide', link: '/en/guide/',},
  14. {text: 'Advanced', link: '/en/develop/'},
  15. {text: 'Contributing', link: '/en/contributing/'},
  16. {text: 'FAQ', link: '/en/faq/'},
  17. ],
  18. sidebar: sidebarEn,
  19. footer: {
  20. message: 'Released under the MIT License.',
  21. copyright: 'Copyright © 2023-present crazywhalecc'
  22. }
  23. },
  24. },
  25. zh: {
  26. label: '简体中文',
  27. lang: 'zh', // optional, will be added as `lang` attribute on `html` tag
  28. themeConfig: {
  29. nav: [
  30. {text: '构建指南', link: '/zh/guide/'},
  31. {text: '进阶', link: '/zh/develop/'},
  32. {text: '贡献', link: '/zh/contributing/'},
  33. {text: 'FAQ', link: '/zh/faq/'},
  34. ],
  35. sidebar: sidebarZh,
  36. footer: {
  37. message: 'Released under the MIT License.',
  38. copyright: 'Copyright © 2023-present crazywhalecc'
  39. }
  40. },
  41. }
  42. },
  43. themeConfig: {
  44. // https://vitepress.dev/reference/default-theme-config
  45. nav: [],
  46. socialLinks: [
  47. {icon: 'github', link: 'https://github.com/crazywhalecc/static-php-cli'}
  48. ]
  49. }
  50. }