changed docusaurus config
- simplified navbar links - removed unnecessary comment - fixed edit url
This commit is contained in:
parent
8bf561ec1b
commit
b8b56356a4
1 changed files with 3 additions and 28 deletions
|
@ -11,8 +11,8 @@ module.exports = {
|
||||||
onBrokenMarkdownLinks: 'warn',
|
onBrokenMarkdownLinks: 'warn',
|
||||||
favicon: 'img/logo.png',
|
favicon: 'img/logo.png',
|
||||||
trailingSlash: false,
|
trailingSlash: false,
|
||||||
organizationName: 'llama-bot', // Usually your GitHub org/user name.
|
organizationName: 'llama-bot',
|
||||||
projectName: 'llama-bot-docs', // Usually your repo name.
|
projectName: 'llama-bot-docs',
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
navbar: {
|
navbar: {
|
||||||
title: 'Llama Bot Docs',
|
title: 'Llama Bot Docs',
|
||||||
|
@ -22,30 +22,6 @@ module.exports = {
|
||||||
href: '/docs/overview',
|
href: '/docs/overview',
|
||||||
},
|
},
|
||||||
items: [
|
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',
|
href: 'https://github.com/llama-bot/llama-bot-docs',
|
||||||
label: 'GitHub',
|
label: 'GitHub',
|
||||||
|
@ -69,8 +45,7 @@ module.exports = {
|
||||||
docs: {
|
docs: {
|
||||||
sidebarPath: require.resolve('./sidebars.js'),
|
sidebarPath: require.resolve('./sidebars.js'),
|
||||||
// Please change this to your repo.
|
// Please change this to your repo.
|
||||||
editUrl:
|
editUrl: 'https://github.com/llama-bot/llama-bot-docs/edit/master/',
|
||||||
'https://github.com/facebook/docusaurus/edit/master/website/',
|
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
customCss: require.resolve('./src/css/custom.css'),
|
customCss: require.resolve('./src/css/custom.css'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue