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