import { defineConfig } from 'vitepress' // https://vitepress.dev/reference/site-config export default defineConfig({ title: "Open Story Teller", description: "Make your own device that tells stories", themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ { text: 'Home', link: '/' }, { text: 'Examples', link: '/markdown-examples' } ], search: { provider: 'local' }, sidebar: [ { text: 'Examples', items: [ { text: 'Markdown Examples', link: '/markdown-examples' }, { text: 'Runtime API Examples', link: '/api-examples' } ] } ], socialLinks: [ { icon: 'github', link: 'https://github.com/arabine/open-story-teller' } ] }, locales: { root: { label: 'English', lang: 'en' }, fr: { label: 'French', lang: 'fr', // optional, will be added as `lang` attribute on `html` tag link: '/fr' // default /fr/ -- shows on navbar translations menu, can be external // other locale specific properties... } } })