-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathconfig.ts
More file actions
85 lines (79 loc) · 2.8 KB
/
Copy pathconfig.ts
File metadata and controls
85 lines (79 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import {defineConfig} from 'vitepress';
export default defineConfig({
lang: 'en-US',
title: 'Gotify',
description: 'a simple server for sending and receiving messages',
sitemap: {hostname: 'https://gotify.net'},
cleanUrls: true,
lastUpdated: true,
srcExclude: ['README.md'],
head: [['link', {rel: 'icon', type: 'image/png', href: '/img/favicon.png'}]],
themeConfig: {
logo: '/img/logo.png',
externalLinkIcon: true,
search: {provider: 'local'},
nav: [
{text: 'Docs', link: '/docs/'},
{text: 'API-Docs', link: '/api-docs'},
],
sidebar: {
'/docs/': [
{
text: 'Getting Started',
items: [
{text: 'Intro', link: '/docs/'},
{text: 'Installation', link: '/docs/install'},
{text: 'Configuration', link: '/docs/config'},
{text: 'First Login', link: '/docs/first-login'},
{text: 'Push messages', link: '/docs/pushmsg'},
{text: 'Message Extras', link: '/docs/msgextras'},
],
},
{
text: 'REST-API',
items: [{text: 'Swagger Documentation', link: '/api-docs'}],
},
{
text: 'Plugins',
items: [
{text: 'Intro to Gotify Plugins', link: '/docs/plugin'},
{text: 'Writing Plugins', link: '/docs/plugin-write'},
{
text: 'Building and Deploying Plugins',
link: '/docs/plugin-deploy',
},
],
},
{
text: 'Development',
items: [
{text: 'Setup Environment', link: '/docs/dev-setup'},
{text: 'Servers and Tests', link: '/docs/dev-server-and-tests'},
{text: 'Build Gotify', link: '/docs/build'},
],
},
{
text: 'Guides',
items: [
{text: 'OpenID Connect (OIDC)', link: '/docs/oidc'},
{text: 'Session Elevation', link: '/docs/session-elevation'},
{text: 'Migrate to 3.x', link: '/docs/migrate-to-3'},
{text: 'Apache reverse proxy', link: '/docs/apache'},
{text: 'Caddy 2 reverse proxy', link: '/docs/caddy'},
{text: 'Haproxy reverse proxy', link: '/docs/haproxy'},
{text: '(more) Push message examples', link: '/docs/more-pushmsg'},
{text: 'nginx reverse proxy', link: '/docs/nginx'},
{text: 'Optimize uploaded images', link: '/docs/optimize-images'},
{text: 'systemd configuration', link: '/docs/systemd'},
{text: 'Traefik reverse proxy', link: '/docs/traefik'},
],
},
],
},
editLink: {
pattern: 'https://github.com/gotify/website/tree/master/:path',
text: 'Edit this page on GitHub',
},
socialLinks: [{icon: 'github', link: 'https://github.com/gotify'}],
},
});