dragonroll/documentation/docs/.vuepress/config.js

63 lines
1.4 KiB
JavaScript
Raw Normal View History

2024-10-11 10:04:40 +00:00
import { defaultTheme } from '@vuepress/theme-default'
import { defineUserConfig } from 'vuepress/cli'
import { viteBundler } from '@vuepress/bundler-vite'
2024-10-11 10:50:46 +00:00
import { prismjsPlugin } from '@vuepress/plugin-prismjs'
2024-10-11 10:04:40 +00:00
export default defineUserConfig({
lang: 'en-US',
title: 'Dragonroll Docs',
description: 'Documentation for Dragonroll API for plugin development',
theme: defaultTheme({
logo: '/images/logo-light.png',
logoDark: '/images/logo.png',
2024-10-11 10:50:46 +00:00
navbar: [
{
text: "Guides",
prefix: "/guide/",
link: "/guide/",
2024-10-12 09:20:10 +00:00
children: ['/get-started', '/firstplugin']
2024-10-11 10:50:46 +00:00
},
{
text: "Reference",
prefix: "/api/",
link: "/api/",
children: [
{
text: "Plugin",
prefix: "plugin/",
collapsable: true,
children: ['/client/test']
},
{
text: "Client API",
prefix: "client/",
collapsable: true,
children: ['/client/test']
},
{
text: "Server API",
prefix: "server/",
children: ['/server/test']
}
]
}
],
repo: 'https://git.aranroig.com/BinarySandia04/dragonroll',
2024-10-11 10:04:40 +00:00
}),
bundler: viteBundler(),
2024-10-11 10:50:46 +00:00
plugins: [
prismjsPlugin({
themes: {
light: 'duotone-light',
dark: 'duotone-space'
}
})
]
2024-10-11 10:04:40 +00:00
})