Skip to content

Commit c2dae32

Browse files
committed
fix(ci): vitepress base path
1 parent 99f03aa commit c2dae32

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

docs/.vitepress/config.mts

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,51 @@
1-
import { defineConfig } from "vitepress";
1+
import {defineConfig} from "vitepress";
22

33
// https://vitepress.dev/reference/site-config
44
export default defineConfig({
55
title: "🐲 Draggy",
66
description: "The official documentation",
7+
base: "/draggy/",
78
themeConfig: {
89
// https://vitepress.dev/reference/default-theme-config
9-
nav: [{ text: "Home", link: "/" }],
10+
nav: [{text: "Home", link: "/"}],
1011

1112
sidebar: [
1213
{
1314
text: "Introduction",
14-
items: [{ text: "Getting Started", link: "/getting-started" }],
15+
items: [{text: "Getting Started", link: "/getting-started"}],
1516
},
1617
{
1718
text: "Customization",
1819
collapsed: false,
1920
items: [
20-
{ text: "Options", link: "/options" },
21-
{ text: "Events", link: "/events" },
21+
{text: "Options", link: "/options"},
22+
{text: "Events", link: "/events"},
2223
],
2324
},
2425
{
2526
text: "Examples",
2627
collapsed: false,
2728
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"},
3132
{
3233
text: "Frameworks",
3334
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"},
3637
],
3738
},
3839
],
3940
},
4041
{
4142
text: "API",
42-
items: [{ text: "Reference", link: "/reference" }],
43+
items: [{text: "Reference", link: "/reference"}],
4344
},
4445
],
4546

4647
socialLinks: [
47-
{ icon: "github", link: "https://github.com/sebkolind/draggy" },
48+
{icon: "github", link: "https://github.com/sebkolind/draggy"},
4849
],
4950
},
5051
});

0 commit comments

Comments
 (0)