|
| 1 | +import { defineConfig } from 'vitepress'; |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + base: '/leaflet-markercluster-utils/', |
| 6 | + title: 'Leaflet Marker Cluster Utils', |
| 7 | + description: 'Docs of leaflet-markercluster-utils', |
| 8 | + themeConfig: { |
| 9 | + // https://vitepress.dev/reference/default-theme-config |
| 10 | + nav: [ |
| 11 | + { text: 'Home', link: '/' }, |
| 12 | + { text: 'Introduction', link: '/introduction' }, |
| 13 | + { text: 'Getting Started', link: '/getting-started' }, |
| 14 | + { text: 'API', link: '/api/open-cluster' }, |
| 15 | + ], |
| 16 | + |
| 17 | + sidebar: [ |
| 18 | + { |
| 19 | + text: 'About', |
| 20 | + items: [ |
| 21 | + { text: 'Introduction', link: '/introduction' }, |
| 22 | + { text: 'Getting Started', link: '/getting-started' }, |
| 23 | + ], |
| 24 | + }, |
| 25 | + { |
| 26 | + text: 'API', |
| 27 | + items: [ |
| 28 | + { text: 'openCluster', link: '/api/open-cluster' }, |
| 29 | + { text: 'closeCluster', link: '/api/close-cluster' }, |
| 30 | + { text: 'getClusterAtCurrentZoom', link: '/api/get-cluster-at-current-zoom' }, |
| 31 | + { text: 'getSpiderfiedCluster', link: '/api/get-spiderfied-cluster' }, |
| 32 | + { text: 'isCluster', link: '/api/is-cluster' }, |
| 33 | + { text: 'isMarker', link: '/api/is-marker' }, |
| 34 | + { text: 'findMarker', link: '/api/find-marker' }, |
| 35 | + ], |
| 36 | + }, |
| 37 | + ], |
| 38 | + |
| 39 | + socialLinks: [ |
| 40 | + { icon: 'github', link: 'https://github.com/siimaoo/leaflet-markercluster-utils' }, |
| 41 | + ], |
| 42 | + }, |
| 43 | +}); |
0 commit comments