From b8b56356a4bd4920cde5d955e83857fcb1cd69c5 Mon Sep 17 00:00:00 2001 From: developomp Date: Mon, 21 Feb 2022 12:05:33 +0900 Subject: [PATCH] changed docusaurus config - simplified navbar links - removed unnecessary comment - fixed edit url --- docusaurus.config.js | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 4a7b39a..61e0d75 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -11,8 +11,8 @@ module.exports = { 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. + organizationName: 'llama-bot', + projectName: 'llama-bot-docs', themeConfig: { navbar: { title: 'Llama Bot Docs', @@ -22,30 +22,6 @@ module.exports = { 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', @@ -69,8 +45,7 @@ module.exports = { docs: { sidebarPath: require.resolve('./sidebars.js'), // Please change this to your repo. - editUrl: - 'https://github.com/facebook/docusaurus/edit/master/website/', + editUrl: 'https://github.com/llama-bot/llama-bot-docs/edit/master/', }, theme: { customCss: require.resolve('./src/css/custom.css'),