|
| 1 | +import { defineConfig } from 'vitepress'; |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: 'B2C CLI', |
| 5 | + description: 'Salesforce Commerce Cloud B2C Command Line Tools', |
| 6 | + base: '/b2c-cli/', |
| 7 | + |
| 8 | + // Show deeper heading levels in the outline |
| 9 | + markdown: { |
| 10 | + toc: { level: [2, 3, 4] }, |
| 11 | + }, |
| 12 | + |
| 13 | + themeConfig: { |
| 14 | + outline: { |
| 15 | + level: [2, 3], |
| 16 | + }, |
| 17 | + nav: [ |
| 18 | + { text: 'Guide', link: '/guide/' }, |
| 19 | + { text: 'CLI Reference', link: '/cli/' }, |
| 20 | + { text: 'API Reference', link: '/api/' }, |
| 21 | + ], |
| 22 | + |
| 23 | + sidebar: { |
| 24 | + '/guide/': [ |
| 25 | + { |
| 26 | + text: 'Getting Started', |
| 27 | + items: [ |
| 28 | + { text: 'Introduction', link: '/guide/' }, |
| 29 | + { text: 'Installation', link: '/guide/installation' }, |
| 30 | + { text: 'Configuration', link: '/guide/configuration' }, |
| 31 | + ], |
| 32 | + }, |
| 33 | + ], |
| 34 | + '/cli/': [ |
| 35 | + { |
| 36 | + text: 'CLI Reference', |
| 37 | + items: [ |
| 38 | + { text: 'Overview', link: '/cli/' }, |
| 39 | + { text: 'Code Commands', link: '/cli/code' }, |
| 40 | + { text: 'Sites Commands', link: '/cli/sites' }, |
| 41 | + { text: 'Sandbox Commands', link: '/cli/sandbox' }, |
| 42 | + { text: 'MRT Commands', link: '/cli/mrt' }, |
| 43 | + ], |
| 44 | + }, |
| 45 | + ], |
| 46 | + '/api/': [ |
| 47 | + { |
| 48 | + text: 'API Reference', |
| 49 | + items: [{ text: 'Overview', link: '/api/' }], |
| 50 | + }, |
| 51 | + ], |
| 52 | + }, |
| 53 | + |
| 54 | + socialLinks: [{ icon: 'github', link: 'https://github.com/salesforce/b2c-cli' }], |
| 55 | + |
| 56 | + search: { |
| 57 | + provider: 'local', |
| 58 | + }, |
| 59 | + }, |
| 60 | +}); |
0 commit comments