// @ts-check // Note: type annotations allow type checking and IDEs autocompletion const lightCodeTheme = require('prism-react-renderer/themes/github'); const darkCodeTheme = require('prism-react-renderer/themes/dracula'); /** @type {import('@docusaurus/types').Config} */ const config = { title: 'Valkyriecoms docs', tagline: 'Need help you have come to the right place!', favicon: 'img/favicon.ico', // Set the production url of your site here url: 'https://docs.valkyriecoms.com', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: '/', // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. organizationName: 'Valkyriecoms', // Usually your GitHub org/user name. projectName: 'valkyrie-docs', // Usually your repo name. onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', // Even if you don't use internalization, you can use this field to set useful // metadata like html lang. For example, if your site is Chinese, you may want // to replace "en" with "zh-Hans". i18n: { defaultLocale: 'en', locales: ['en'], }, presets: [ [ 'classic', /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { routeBasePath: '/', sidebarPath: require.resolve('./sidebars.js'), }, blog: false, theme: { customCss: require.resolve('./src/css/custom.css'), }, }), ], ], themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ // Replace with your project's social card image: 'img/docusaurus-social-card.jpg', navbar: { title: 'Valkyriecoms docs', logo: { alt: 'Bygul', src: 'img/Bygul.png', }, items: [ { href: 'https://toastielab.dev/Valkyriecoms/valkyrie-docs', label: 'Toastielab', position: 'right', }, ], }, footer: { style: 'dark', links: [ { title: 'Community', items: [ { label: 'Discord', href: 'https://discord.com/invite/y9KtEx7KFx', }, { label: 'Valkyriecoms', href: 'https://valkyriecoms.com', }, ], }, { title: 'More', items: [ { label: 'GitHub', href: 'https://toastielab.dev/Valkyriecoms/valkyrie-docs', }, ], }, ], copyright: `Copyright © ${new Date().getFullYear()} Dragon's child studios.`, }, prism: { theme: lightCodeTheme, darkTheme: darkCodeTheme, }, }), }; module.exports = config;