You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.js 623B

12345678910111213141516171819202122
  1. import { defineConfig } from 'vitepress'
  2. import zhConfig from './locales/zh.config.js'
  3. import enConfig from './locales/en.config.js'
  4. export default defineConfig({
  5. base: '/docs/',
  6. cleanUrls: 'without-subfolders',
  7. head: [['link', { rel: 'icon', href: '/assets/favicon.png' }]],
  8. locales: {
  9. root: zhConfig,
  10. // en: enConfig,
  11. },
  12. themeConfig: {
  13. logo: '/assets/favicon.png',
  14. search: {
  15. provider: 'local',
  16. },
  17. socialLinks: [{ icon: 'github', link: 'https://github.com/dvgis/dc-sdk' }],
  18. footer: {
  19. copyright: '版权所有 © 2019 - 2023 数字视觉(Digital Visual)',
  20. },
  21. },
  22. })