module.exports = {
  title: 'SemApps',
  tagline: 'A toolbox for semantic web applications',
  url: 'https://semapps.org',
  baseUrl: '/',
  favicon: 'img/favicon.ico',
  organizationName: 'assemblee-virtuelle', // Usually your GitHub org/user name.
  projectName: 'semapps', // Usually your repo name.
  /*
  i18n: {
    defaultLocale: 'en',
    locales: ['en', 'fr'],
    localeConfigs: {
      'en': {
        label: 'English',
        direction: 'ltr'
      },
      'fr': {
        label: 'Français',
        direction: 'ltr'
      }
    }
  },
  */
  themeConfig: {
    docs: {
      sidebar: {
        autoCollapseCategories: true
      }
    },
    prism: {
      theme: require('prism-react-renderer/themes/shadesOfPurple')
    },
    colorMode: {
      defaultMode: 'light',
      disableSwitch: true
    },
    navbar: {
      title: 'SemApps',
      /*
      logo: {
        alt: 'Logo Semapps',
        src: 'img/logo.png',
      },
      */
      items: [
        { to: 'team', label: 'Team', position: 'left' },
        { to: 'docs/guides/ldp-server', label: 'Guides', position: 'left' },
        { to: 'docs/middleware', label: 'Middleware', position: 'left' },
        { to: 'docs/frontend', label: 'Frontend', position: 'left' },
        { to: 'docs/triplestore', label: 'Triple Store', position: 'left' },
        { to: 'docs/contribute/code', label: 'How to contribute', position: 'left' },
        { to: 'blog', label: 'Blog', position: 'left' },
        {
          href: 'https://github.com/assemblee-virtuelle/semapps',
          label: 'GitHub',
          position: 'right'
        }
        /*
        {
          type: 'localeDropdown',
          position: 'right',
        },
        */
      ]
    },
    footer: {
      links: [
        {
          title: 'Guides',
          items: [
            {
              label: 'Create your first LDP server',
              to: 'docs/guides/ldp-server'
            },
            {
              label: 'Add a Data Management System',
              to: 'docs/guides/dms'
            },
            {
              label: 'Create an ActivityPub server',
              to: 'docs/guides/activitypub'
            }
          ]
        },
        {
          title: 'Community',
          items: [
            {
              label: 'Discourse (French)',
              href: 'https://forums.assemblee-virtuelle.org/c/projets/semapps/11'
            },
            {
              label: 'Chatroom',
              href: 'https://chat.lescommuns.org/channel/semapps_dev'
            },
            {
              label: 'Contact',
              href: 'https://chat.lescommuns.org/channel/Semapps_accueil'
            }
          ]
        },
        {
          title: 'Social',
          items: [
            {
              label: 'GitHub',
              href: 'https://github.com/assemblee-virtuelle/semapps'
            }
          ]
        }
      ],
      copyright: `Copyright © ${new Date().getFullYear()} Virtual Assembly`
    }
  },
  presets: [
    [
      '@docusaurus/preset-classic',
      {
        docs: {
          sidebarPath: require.resolve('./sidebars.js'),
          editUrl: 'https://github.com/assemblee-virtuelle/semapps/edit/master/website/'
        },
        theme: {
          customCss: require.resolve('./src/css/custom.css')
        }
      }
    ]
  ],
  plugins: ['docusaurus-plugin-sass']
};
