1
0
Fork 0
llama-bot-docs/docusaurus.config.js
developomp b8b56356a4 changed docusaurus config
- simplified navbar links
- removed unnecessary comment
- fixed edit url
2022-02-21 12:05:33 +09:00

56 lines
1.5 KiB
JavaScript

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',
projectName: 'llama-bot-docs',
themeConfig: {
navbar: {
title: 'Llama Bot Docs',
logo: {
alt: 'Llama Bot Logo',
src: 'img/logo.png',
href: '/docs/overview',
},
items: [
{
href: 'https://github.com/llama-bot/llama-bot-docs',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
copyright: `Created by <b>developomp</b>. Built with <a href="https://github.com/facebook/docusaurus">Docusaurus</a>.`,
},
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/llama-bot/llama-bot-docs/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};