Debian Codegraph @

docs/.vitepress/config.mts

raw
1 import { defineConfig } from 'vitepress'
2
3 const base = process.env.BASE_PATH ?? '/frei0r/'
4
5 export default defineConfig({
6 title: 'frei0r',
7 description: 'A minimalistic API and portable collection of free and open source video effects.',
8 lang: 'en-US',
9 base,
10 cleanUrls: true,
11 srcExclude: [
12 'content-sources.md',
13 'software-sources.md',
14 'public-urls.md',
15 'README.md',
16 'DEPLOYMENT.md'
17 ],
18 ignoreDeadLinks: [/^\/codedoc\/html\//],
19 sitemap: {
20 hostname: 'https://dyne.org'
21 },
22 head: [
23 ['link', { rel: 'icon', href: `${base}favicon.png` }],
24 ['link', { rel: 'canonical', href: 'https://dyne.org/frei0r/' }],
25 ['meta', { property: 'og:type', content: 'website' }],
26 ['meta', { property: 'og:site_name', content: 'frei0r' }],
27 ['meta', { property: 'og:title', content: 'frei0r - free video effects' }],
28 ['meta', { property: 'og:description', content: 'A minimalistic API and portable collection of free and open source video effects.' }],
29 ['meta', { property: 'og:url', content: 'https://dyne.org/frei0r/' }],
30 ['meta', { property: 'og:image', content: 'https://dyne.org/frei0r/pics/frei0r.png' }],
31 ['meta', { name: 'twitter:card', content: 'summary_large_image' }]
32 ],
33 appearance: true,
34 themeConfig: {
35 nav: [
36 { text: 'Home', link: '/' },
37 { text: 'Get frei0r', link: '/get-frei0r' },
38 { text: 'Software', link: '/software' },
39 { text: 'Documentation', link: '/documentation' },
40 { text: 'History', link: '/history' },
41 { text: 'Community', link: '/community' },
42 { text: 'Discuss', link: 'https://t.me/frei0r' },
43 { text: 'About Dyne.org', link: 'https://dyne.org' }
44 ],
45 socialLinks: [
46 { icon: 'github', link: 'https://github.com/dyne/frei0r' }
47 ],
48 sidebar: [
49 {
50 text: 'frei0r',
51 items: [
52 { text: 'Home', link: '/' },
53 { text: 'Get frei0r', link: '/get-frei0r' },
54 { text: 'Supporting software', link: '/software' },
55 { text: 'Community', link: '/community' }
56 ]
57 },
58 {
59 text: 'Documentation',
60 items: [
61 { text: 'Start here', link: '/documentation' },
62 { text: 'Using frei0r', link: '/using-frei0r' },
63 { text: 'Develop a plugin', link: '/develop-plugin' },
64 { text: 'API overview', link: '/api' },
65 { text: 'Generated API reference', link: '/codedoc/html/' }
66 ]
67 },
68 {
69 text: 'Project',
70 items: [
71 { text: 'History', link: '/history' },
72 { text: 'GitHub', link: 'https://github.com/dyne/frei0r' },
73 { text: 'Telegram', link: 'https://t.me/frei0r' }
74 ]
75 }
76 ],
77 editLink: {
78 pattern: 'https://github.com/dyne/frei0r/edit/master/docs/:path',
79 text: 'Edit this page on GitHub'
80 },
81 search: {
82 provider: 'local'
83 }
84 }
85 })