|
1 |
| -import { defineConfig } from "vitepress"; |
| 1 | +import {defineConfig} from "vitepress"; |
2 | 2 |
|
3 | 3 | // https://vitepress.dev/reference/site-config
|
4 | 4 | export default defineConfig({
|
5 | 5 | title: "🐲 Draggy",
|
6 | 6 | description: "The official documentation",
|
| 7 | + base: "/draggy/", |
7 | 8 | themeConfig: {
|
8 | 9 | // https://vitepress.dev/reference/default-theme-config
|
9 |
| - nav: [{ text: "Home", link: "/" }], |
| 10 | + nav: [{text: "Home", link: "/"}], |
10 | 11 |
|
11 | 12 | sidebar: [
|
12 | 13 | {
|
13 | 14 | text: "Introduction",
|
14 |
| - items: [{ text: "Getting Started", link: "/getting-started" }], |
| 15 | + items: [{text: "Getting Started", link: "/getting-started"}], |
15 | 16 | },
|
16 | 17 | {
|
17 | 18 | text: "Customization",
|
18 | 19 | collapsed: false,
|
19 | 20 | items: [
|
20 |
| - { text: "Options", link: "/options" }, |
21 |
| - { text: "Events", link: "/events" }, |
| 21 | + {text: "Options", link: "/options"}, |
| 22 | + {text: "Events", link: "/events"}, |
22 | 23 | ],
|
23 | 24 | },
|
24 | 25 | {
|
25 | 26 | text: "Examples",
|
26 | 27 | collapsed: false,
|
27 | 28 | items: [
|
28 |
| - { text: "Custom Shadow", link: "/examples/custom-shadow" }, |
29 |
| - { text: "Restrict a Drop", link: "/examples/restrict-a-drop" }, |
30 |
| - { text: "Clean-up (destroy)", link: "/examples/clean-up" }, |
| 29 | + {text: "Custom Shadow", link: "/examples/custom-shadow"}, |
| 30 | + {text: "Restrict a Drop", link: "/examples/restrict-a-drop"}, |
| 31 | + {text: "Clean-up (destroy)", link: "/examples/clean-up"}, |
31 | 32 | {
|
32 | 33 | text: "Frameworks",
|
33 | 34 | items: [
|
34 |
| - { text: "Vue", link: "/examples/vue" }, |
35 |
| - { text: "React", link: "/examples/react" }, |
| 35 | + {text: "Vue", link: "/examples/vue"}, |
| 36 | + {text: "React", link: "/examples/react"}, |
36 | 37 | ],
|
37 | 38 | },
|
38 | 39 | ],
|
39 | 40 | },
|
40 | 41 | {
|
41 | 42 | text: "API",
|
42 |
| - items: [{ text: "Reference", link: "/reference" }], |
| 43 | + items: [{text: "Reference", link: "/reference"}], |
43 | 44 | },
|
44 | 45 | ],
|
45 | 46 |
|
46 | 47 | socialLinks: [
|
47 |
| - { icon: "github", link: "https://github.com/sebkolind/draggy" }, |
| 48 | + {icon: "github", link: "https://github.com/sebkolind/draggy"}, |
48 | 49 | ],
|
49 | 50 | },
|
50 | 51 | });
|
0 commit comments