module.exports = {
  title: 'Vitedge',
  description: 'Edge-side rendering and fullstack Vite framework',
  themeConfig: {
    repo: 'frandiox/vitedge',
    docsDir: 'docs',
    editLinks: true,
    editLinkText: 'Edit this page on GitHub',
    lastUpdated: 'Last Updated',

    algolia: {
      apiKey: '<KEY>',
      indexName: 'vitedge',
    },

    nav: [
      {
        text: 'Release Notes',
        link: 'https://github.com/frandiox/vitedge/releases',
      },
    ],

    sidebar: [
      {
        text: 'Guide',
        children: [
          {
            text: 'Getting Started',
            link: '/getting-started',
          },
          {
            text: 'Usage',
            link: '/usage',
          },
          {
            text: 'SSR Context & Initial State',
            link: '/ssr-context',
          },
          {
            text: 'Page Props',
            link: '/props',
          },
          {
            text: 'API',
            link: '/api',
          },
          {
            text: 'Cache',
            link: '/cache',
          },
          {
            text: 'Environment Variables',
            link: '/environment',
          },
          {
            text: 'Conditional Rendering',
            link: '/conditional-rendering',
          },
          {
            text: 'Request Lifecycle',
            link: '/request-lifecycle',
          },
          {
            text: 'CORS',
            link: '/cors',
          },
          {
            text: 'Troubleshooting',
            link: '/troubleshooting',
          },
        ],
      },
      {
        text: 'Extras',
        children: [
          {
            text: 'Common Integrations',
            link: '/integrations',
          },
          {
            text: 'Useful Plugins',
            link: '/useful-plugins',
          },
        ],
      },
    ],
  },
}
