From 7646429117b7570601ff3a547c391c4eecbfa920 Mon Sep 17 00:00:00 2001 From: Matyrobbrt Date: Thu, 8 Aug 2024 18:58:58 +0300 Subject: [PATCH] Create config.js --- docs/docs/.vuepress/config.js | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 docs/docs/.vuepress/config.js diff --git a/docs/docs/.vuepress/config.js b/docs/docs/.vuepress/config.js new file mode 100644 index 0000000..1673843 --- /dev/null +++ b/docs/docs/.vuepress/config.js @@ -0,0 +1,43 @@ +import { defaultTheme } from '@vuepress/theme-default' +import { defineUserConfig } from 'vuepress/cli' +import { viteBundler } from '@vuepress/bundler-vite' + +export default defineUserConfig({ + lang: 'en-US', + + title: 'Camelot', + description: 'Documentation for the Camelot Discord bot', + base: '/camelot/', + + theme: defaultTheme({ + logo: 'images/hero.png', + sidebar: [ + { + text: 'Setting up Camelot', + link: '/get-started' + }, + { + text: 'Modules', + link: '/modules/', + collapsible: false, + children: [ + { + text: 'Moderation', + link: '/modules/moderation' + } + ] + } + ], + navbar: ['/', { + text: 'Setting up Camelot', + link: '/get-started', + }, { + text: 'Modules', + link: '/modules/' + }], + docsDir: 'docs' + }), + + bundler: viteBundler(), + +})