EyeTrackVR-Docs/vitepress/docs/.vitepress/config.js
2023-01-12 22:56:49 +00:00

24 lines
707 B
JavaScript

// .vitepress/config.ts
import { defineConfig } from 'vitepress'
import { theme } from '../src/custom/theme'
export default defineConfig({
outDir: './.vitepress/out',
srcDir: './src/pages',
cleanUrls: 'with-subfolders',
/* head: [
[
'link',
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }
]
// would render: <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
], */
markdown: {
theme: 'material-palenight',
lineNumbers: true
},
lastUpdated: true,
title: 'EyeTrackVR Docs',
description: 'The official documentation for EyeTrackVR',
themeConfig: theme,
})