dragonroll/documentation/docs/.vuepress/config.js
BinarySandia04 c6e07e7b41
All checks were successful
test / run-tests-client (push) Successful in 43s
test / run-tests-backend (push) Successful in 15s
concept?
2024-10-12 11:20:10 +02:00

63 lines
1.4 KiB
JavaScript

import { defaultTheme } from '@vuepress/theme-default'
import { defineUserConfig } from 'vuepress/cli'
import { viteBundler } from '@vuepress/bundler-vite'
import { prismjsPlugin } from '@vuepress/plugin-prismjs'
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',
navbar: [
{
text: "Guides",
prefix: "/guide/",
link: "/guide/",
children: ['/get-started', '/firstplugin']
},
{
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',
}),
bundler: viteBundler(),
plugins: [
prismjsPlugin({
themes: {
light: 'duotone-light',
dark: 'duotone-space'
}
})
]
})