config.mts 699 B

12345678910111213141516171819202122232425262728
  1. import { defineConfig } from 'vitepress'
  2. // https://vitepress.dev/reference/site-config
  3. export default defineConfig({
  4. title: "My Awesome Project",
  5. description: "A VitePress Site",
  6. themeConfig: {
  7. // https://vitepress.dev/reference/default-theme-config
  8. nav: [
  9. { text: 'Home', link: '/' },
  10. { text: 'Examples', link: '/markdown-examples' }
  11. ],
  12. sidebar: [
  13. {
  14. text: 'Examples',
  15. items: [
  16. { text: 'Markdown Examples', link: '/markdown-examples' },
  17. { text: 'Runtime API Examples', link: '/api-examples' }
  18. ]
  19. }
  20. ],
  21. socialLinks: [
  22. { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
  23. ]
  24. }
  25. })