|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: 'willhaben-cli', |
| 5 | + description: 'Unofficial CLI for willhaben.at - Austrian marketplace', |
| 6 | + |
| 7 | + base: '/willhaben-cli/', |
| 8 | + |
| 9 | + head: [ |
| 10 | + ['meta', { name: 'theme-color', content: '#03A4E8' }], |
| 11 | + ['meta', { name: 'og:type', content: 'website' }], |
| 12 | + ['meta', { name: 'og:site_name', content: 'willhaben-cli' }], |
| 13 | + ], |
| 14 | + |
| 15 | + themeConfig: { |
| 16 | + nav: [ |
| 17 | + { text: 'Guide', link: '/guide/getting-started' }, |
| 18 | + { text: 'Commands', link: '/commands/' }, |
| 19 | + ], |
| 20 | + |
| 21 | + sidebar: { |
| 22 | + '/guide/': [ |
| 23 | + { |
| 24 | + text: 'Introduction', |
| 25 | + items: [ |
| 26 | + { text: 'Getting Started', link: '/guide/getting-started' }, |
| 27 | + { text: 'Installation', link: '/guide/installation' }, |
| 28 | + { text: 'Configuration', link: '/guide/configuration' }, |
| 29 | + ] |
| 30 | + } |
| 31 | + ], |
| 32 | + '/commands/': [ |
| 33 | + { |
| 34 | + text: 'Commands', |
| 35 | + items: [ |
| 36 | + { text: 'Overview', link: '/commands/' }, |
| 37 | + { text: 'login', link: '/commands/login' }, |
| 38 | + { text: 'logout', link: '/commands/logout' }, |
| 39 | + { text: 'whoami', link: '/commands/whoami' }, |
| 40 | + { text: 'list', link: '/commands/list' }, |
| 41 | + { text: 'get', link: '/commands/get' }, |
| 42 | + { text: 'publish', link: '/commands/publish' }, |
| 43 | + { text: 'update', link: '/commands/update' }, |
| 44 | + { text: 'delete', link: '/commands/delete' }, |
| 45 | + { text: 'images', link: '/commands/images' }, |
| 46 | + { text: 'config', link: '/commands/config' }, |
| 47 | + ] |
| 48 | + } |
| 49 | + ], |
| 50 | + }, |
| 51 | + |
| 52 | + socialLinks: [ |
| 53 | + { icon: 'github', link: 'https://github.com/tomLadder/willhaben-cli' } |
| 54 | + ], |
| 55 | + |
| 56 | + footer: { |
| 57 | + message: 'Released under the MIT License. Not affiliated with willhaben.', |
| 58 | + copyright: 'Made with ❤️ in Austria' |
| 59 | + }, |
| 60 | + |
| 61 | + search: { |
| 62 | + provider: 'local' |
| 63 | + } |
| 64 | + } |
| 65 | +}) |
0 commit comments