Skip to content

Commit 893a9b1

Browse files
committed
Try to fix image locations
1 parent c0a6e67 commit 893a9b1

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.vitepress/config.mts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ export default defineConfig({
88
lastUpdated: true,
99
cleanUrls: true,
1010
ignoreDeadLinks: true,
11-
base: "/docs",
11+
base: "/docs/",
12+
outDir: ".vitepress/dist",
1213
head: [
1314
// Basic favicon
14-
["link", { rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
15+
["link", { rel: "icon", type: "image/x-icon", href: "/docs/favicon.ico" }],
1516

1617
// PNG formats for modern browsers
17-
["link", { rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon-16x16.png" }],
18-
["link", { rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32x32.png" }],
18+
["link", { rel: "icon", type: "image/png", sizes: "16x16", href: "/docs/favicon-16x16.png" }],
19+
["link", { rel: "icon", type: "image/png", sizes: "32x32", href: "/docs/favicon-32x32.png" }],
1920

2021
// Apple Touch icon
21-
["link", { rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" }],
22+
["link", { rel: "apple-touch-icon", sizes: "180x180", href: "/docs/apple-touch-icon.png" }],
2223

2324
// #fff
2425
["meta", { name: "msapplication-TileColor", content: "#FF9900" }],
@@ -39,7 +40,7 @@ export default defineConfig({
3940
},
4041
],
4142
["meta", { httpEquiv: "Content-Language", content: "en" }],
42-
["meta", { name: "twitter:image", content: "/logo-light.png" }],
43+
["meta", { name: "twitter:image", content: "/docs/logo-light.png" }],
4344
[
4445
"meta",
4546
{
@@ -54,7 +55,7 @@ export default defineConfig({
5455
content: "https://docs.arch.network",
5556
},
5657
],
57-
["meta", { name: "og:image", content: "/logo-light.png" }],
58+
["meta", { name: "og:image", content: "/docs/logo-light.png" }],
5859
["meta", { name: "apple-mobile-web-app-title", content: "Arch" }],
5960
],
6061
sitemap: {
@@ -86,8 +87,8 @@ export default defineConfig({
8687

8788
logo: {
8889
alt: "Arch Logo",
89-
light: "/logo-light.png",
90-
dark: "/logo-light.png",
90+
light: "/docs/logo-light.png",
91+
dark: "/docs/logo-light.png",
9192
},
9293

9394
socialLinks: [

0 commit comments

Comments
 (0)