EyeTrackVR-Docs/vitepress/docs/.vitepress/config.js
2023-06-04 22:20:35 +01:00

25 lines
797 B
JavaScript

// .vitepress/config.ts
import { defineConfig } from 'vitepress'
import { theme } from '../src/custom/theme'
export default defineConfig({
outDir: './.vitepress/dist',
srcDir: './src/pages',
cleanUrls: 'with-subfolders',
ignoreDeadLinks: true,
/* head: [
[
'link',
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }
]
// would render: <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
], */
markdown: {
theme: 'material-theme-palenight',
lineNumbers: true
},
lastUpdated: true,
title: 'EyeTrackVR Docs',
description: 'Official documentation for EyeTrackVR. Fully open-source and affordable VR eye tracking platform.',
themeConfig: theme,
})