text: const lightCodeTheme = require('prism-react-renderer/themes/github');
  const darkCodeTheme = require('prism-react-renderer/themes/dracula');
  
  /** @type {import('@docusaurus/types').DocusaurusConfig} */
  module.exports = {
    title: 'Arcus - Azure Event Grid',
    url: 'https://eventgrid.arcus-azure.net',
    baseUrl: '/',
    onBrokenLinks: 'throw',
    onBrokenMarkdownLinks: 'warn',
    favicon: 'img/arcus.png',
    organizationName: 'arcus-azure', // Usually your GitHub org/user name.
    projectName: 'Arcus - Azure Event Grid', // Usually your repo name.
    themeConfig: {
      image: 'img/arcus.jpg',
      navbar: {
        title: 'Azure Event Grid',
        logo: {
          alt: 'Arcus',
          src: 'img/arcus.png',
          srcDark: 'img/arcus.png'
        },
        items: [
          {
            type: 'docsVersionDropdown',
  
            //// Optional
            position: 'right',
            // Add additional dropdown items at the beginning/end of the dropdown.
            dropdownItemsBefore: [],
            // Do not add the link active class when browsing docs.
            dropdownActiveClassDisabled: true,
            docsPluginId: 'default',
          },
          {
            type: 'search',
            position: 'right',
          },
          {
            href: 'https://github.com/arcus-azure/arcus.eventgrid',
            label: 'GitHub',
            position: 'right',
          },
        ],
      },
      footer: {
        style: 'dark',
        links: [
          {
            title: 'Community',
            items: [
              {
                label: 'Arcus Azure Github',
                href: 'https://github.com/arcus-azure',
              },
            ],
          },
        ],
        copyright: `Copyright © ${new Date().getFullYear()}, Arcus - Azure Event Grid maintained by arcus-azure`,
      },
      prism: {
        theme: lightCodeTheme,
        darkTheme: darkCodeTheme,
        additionalLanguages: ['csharp'],
      },
    },
    presets: [
      [
        '@docusaurus/preset-classic',
        {
          docs: {
            sidebarPath: require.resolve('./sidebars.js'),
            routeBasePath: "/",
            path: 'preview',
            sidebarCollapsible: false,
            // Please change this to your repo.
            editUrl:
              'https://github.com/arcus-azure/arcus.eventgrid/edit/master/docs',
            includeCurrentVersion:process.env.CONTEXT !== 'production',
          },
          theme: {
            customCss: require.resolve('./src/css/custom.css'),
          },
        },
      ],
    ],
  };
  