|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + title: "VueMapbox 3", |
| 6 | + description: "A Vue3 mapbox wrapper", |
| 7 | + base:"/vue-mapbox/", |
| 8 | + themeConfig: { |
| 9 | + // https://vitepress.dev/reference/default-theme-config |
| 10 | + nav: [ |
| 11 | + { text: 'Home', link: '/' }, |
| 12 | + { text: 'Guide', link: '/guide/README' }, |
| 13 | + { text: 'API', link: '/api/README' }, |
| 14 | + ], |
| 15 | + |
| 16 | + sidebar: [ |
| 17 | + { |
| 18 | + text: 'Guide', |
| 19 | + items: [ |
| 20 | + { text: 'Quickstart', link: '/guide/README' }, |
| 21 | + { text: 'Base map', link: '/guide/basemap' }, |
| 22 | + { text: 'Composition', link: '/guide/composition' }, |
| 23 | + { text: 'Controls', link: '/guide/controls' }, |
| 24 | + { text: 'Markers and popups', link: '/guide/markers&popups' }, |
| 25 | + { text: 'Layers and sources', link: '/guide/layers&sources' } |
| 26 | + ] |
| 27 | + }, |
| 28 | + { |
| 29 | + text: 'API', |
| 30 | + items: [ |
| 31 | + { text: 'GlMap', link: '/api/README' }, |
| 32 | + { text: 'Controls', link: '/api/controls' }, |
| 33 | + { text: 'MapMarker', link: '/api/marker' }, |
| 34 | + { text: 'Popup', link: '/api/popup' }, |
| 35 | + { text: 'Layer commons', link: '/api/Layers/README' }, |
| 36 | + { text: 'Geojson Layer', link: '/api/Layers/geojsonlayer' }, |
| 37 | + { text: 'Vector Layer', link: '/api/Layers/vectorlayer' }, |
| 38 | + { text: 'Raster Layer', link: '/api/Layers/rasterlayer' }, |
| 39 | + { text: 'Image Layer', link: '/api/Layers/imagelayer' }, |
| 40 | + { text: 'Video Layer', link: '/api/Layers/videolayer' }, |
| 41 | + { text: 'Canvas Layer', link: '/api/Layers/canvaslayer' }, |
| 42 | + ] |
| 43 | + }, |
| 44 | + { |
| 45 | + text: 'Plugin components', |
| 46 | + items: [ |
| 47 | + { text: 'Using plugin components', link: '/plugin_components/README' }, |
| 48 | + { text: 'Create a plugin component', link: '/plugin_components/plugin_components_development' }, |
| 49 | + |
| 50 | + ] |
| 51 | + } |
| 52 | + ], |
| 53 | + |
| 54 | + socialLinks: [ |
| 55 | + { icon: 'github', link: 'https://github.com/systragroup/vue-mapbox' } |
| 56 | + ], |
| 57 | + footer:{message: 'Released under the MIT License.'} |
| 58 | + } |
| 59 | +}) |
0 commit comments