const lightCodeTheme = require('prism-react-renderer/themes/github'); const darkCodeTheme = require('prism-react-renderer/themes/dracula'); /** @type {import('@docusaurus/types').DocusaurusConfig} */ module.exports = { title: 'Llama Bot Documentation', tagline: '', url: 'https://docs.llama.developomp.com', baseUrl: '/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', favicon: 'img/logo.png', trailingSlash: false, organizationName: 'llama-bot', // Usually your GitHub org/user name. projectName: 'llama-bot-docs', // Usually your repo name. themeConfig: { navbar: { title: 'Llama Bot Docs', logo: { alt: 'Llama Bot Logo', src: 'img/logo.png', href: '/docs/overview', }, items: [ { label: 'Docs', docId: 'overview', type: 'doc', position: 'left', }, { label: 'Usage', docId: 'usage/overview', type: 'doc', position: 'left', }, { label: 'Bot', docId: 'bot/overview', type: 'doc', position: 'left', }, { label: 'Web interface', docId: 'web-interface/overview', type: 'doc', position: 'left', }, { href: 'https://github.com/llama-bot/llama-bot-docs', label: 'GitHub', position: 'right', }, ], }, footer: { style: 'dark', copyright: `Created by developomp. Built with Docusaurus.`, }, prism: { theme: lightCodeTheme, darkTheme: darkCodeTheme, }, }, presets: [ [ '@docusaurus/preset-classic', { docs: { sidebarPath: require.resolve('./sidebars.js'), // Please change this to your repo. editUrl: 'https://github.com/facebook/docusaurus/edit/master/website/', }, theme: { customCss: require.resolve('./src/css/custom.css'), }, }, ], ], };