config.ts 781 B

12345678910111213141516171819202122232425
  1. import { defineConfig } from 'vitepress'
  2. export default defineConfig({
  3. title: 'TresJS',
  4. description: 'Autogenerated wrappers based on THREE instances',
  5. head: [['link', { rel: 'icon', type: 'image/svg', href: '/favicon.svg' }]],
  6. themeConfig: {
  7. logo: '/logo.svg',
  8. sidebar: [
  9. {
  10. text: 'Guide',
  11. items: [
  12. // This shows `/guide/index.md` page.
  13. { text: 'Introduction', link: '/guide/' },
  14. { text: 'Getting Started', link: '/guide/getting-started' },
  15. { text: 'Your first Scene', link: '/guide/your-first-scene' },
  16. ],
  17. },
  18. ],
  19. socialLinks: [
  20. { icon: 'github', link: 'https://github.com/alvarosabu/tres' },
  21. { icon: 'twitter', link: 'https://twitter.com/alvarosabu' },
  22. ],
  23. },
  24. })