From de5f919d7101a157be618d11204464777817878a Mon Sep 17 00:00:00 2001 From: stfsy Date: Sun, 2 Jan 2022 23:08:37 +0100 Subject: [PATCH] chore: add vue press config --- docs/.vuepress/config.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/.vuepress/config.js diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js new file mode 100644 index 0000000..36e1c65 --- /dev/null +++ b/docs/.vuepress/config.js @@ -0,0 +1,33 @@ +/** + * @typedef {import('@vuepress/theme-default').NavbarConfig} NavbarConfig + */ + +/** + * @type NavbarConfig + */ +module.exports = { + // site config + lang: 'en-US', + title: 'discue', + description: 'Documentation of discue.io: Your secure and reliable messaging and queueing service.', + markdown: { extractHeaders: { level: [2, 3, 4] } }, + // theme and its config + theme: '@vuepress/theme-default', + themeConfig: { + logo: 'https://avatars.githubusercontent.com/u/95524644?s=200&v=4', + docsDir: 'docs', + repo: 'discue/discue-io-docs', + repoLabel: 'GitHub', + sidebarDepth: 4, + navbar: [{ + text: 'Getting Started', + link: '/overview/', + }, { + text: 'API Overview', + link: '/overview/', + }, { + text: 'API Reference', + link: '/endpoints/', + }], + }, +} \ No newline at end of file