|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + title: "Nuxt Leaflet", |
| 6 | + description: "Documentation for the Nuxt Leaflet module", |
| 7 | + head: [['link', { rel: 'icon', href: '/Nuxt-Leaflet/favicon.ico' }]], |
| 8 | + base: '/Nuxt-Leaflet/', |
| 9 | + themeConfig: { |
| 10 | + // https://vitepress.dev/reference/default-theme-config |
| 11 | + nav: [ |
| 12 | + { text: 'Home', link: '/' }, |
| 13 | + { text: 'Quick Start', link: '/getting-started/installation' }, |
| 14 | + { text: 'Components', link: '/components/index' } |
| 15 | + ], |
| 16 | + |
| 17 | + sidebar: [ |
| 18 | + { |
| 19 | + text: 'Getting Started', |
| 20 | + items: [ |
| 21 | + { text: 'Installation', link: '/getting-started/installation' }, |
| 22 | + { text: 'Usage', link: '/getting-started/usage' } |
| 23 | + ] |
| 24 | + }, |
| 25 | + { |
| 26 | + text: 'Components', |
| 27 | + items: [ |
| 28 | + { text: 'Introduction', link: '/components/introduction' }, |
| 29 | + { text: 'LCircle', link: '/components/l-circle' }, |
| 30 | + { text: 'LCircleMarker', link: '/components/l-circle-marker' }, |
| 31 | + { text: 'LControlAttribution', link: '/components/l-control-attribution' }, |
| 32 | + { text: 'LControlLayers', link: '/components/l-control-layers' }, |
| 33 | + { text: 'LControlScale', link: '/components/l-control-scale' }, |
| 34 | + { text: 'LControlZoom', link: '/components/l-control-zoom' }, |
| 35 | + { text: 'LControl', link: '/components/l-control' }, |
| 36 | + { text: 'LFeatureGroup', link: '/components/l-feature-group' }, |
| 37 | + { text: 'LGeoJson', link: '/components/l-geo-json' }, |
| 38 | + { text: 'LGridLayer', link: '/components/l-grid-layer' }, |
| 39 | + { text: 'LIcon', link: '/components/l-icon' }, |
| 40 | + { text: 'LImageOverlay', link: '/components/l-image-overlay' }, |
| 41 | + { text: 'LLayerGroup', link: '/components/l-layer-group' }, |
| 42 | + { text: 'LMap', link: '/components/l-map' }, |
| 43 | + { text: 'LMarker', link: '/components/l-marker' }, |
| 44 | + { text: 'LPolygon', link: '/components/l-polygon' }, |
| 45 | + { text: 'LPolyline', link: '/components/l-polyline' }, |
| 46 | + { text: 'LPopup', link: '/components/l-popup' }, |
| 47 | + { text: 'LRectangle', link: '/components/l-rectangle' }, |
| 48 | + { text: 'LTileLayer', link: '/components/l-tile-layer' }, |
| 49 | + { text: 'LTooltip', link: '/components/l-tooltip' }, |
| 50 | + { text: 'LWmsTileLayer', link: '/components/l-wms-tile-layer' }, |
| 51 | + ] |
| 52 | + }, |
| 53 | + { |
| 54 | + text: 'Guide', |
| 55 | + items: [ |
| 56 | + { text: 'Using L', link: '/guide/using-l' }, |
| 57 | + { text: 'Accessing Map Instance', link: '/guide/accessing-map-instance' }, |
| 58 | + { text: 'Leaflet Draw (Experimental)', link: '/guide/leaflet-draw' } |
| 59 | + ] |
| 60 | + } |
| 61 | + ], |
| 62 | + |
| 63 | + socialLinks: [ |
| 64 | + { icon: 'github', link: 'https://github.com/Gugustinette/Nuxt-Leaflet' }, |
| 65 | + { icon: 'npm', link: 'https://www.npmjs.com/package/nuxt3-leaflet' } |
| 66 | + ] |
| 67 | + } |
| 68 | +}) |
0 commit comments