Set base url to /Pumpkin/ for github pages
This commit is contained in:
parent
fbf2df15d2
commit
f6a4082410
@ -1,36 +1,44 @@
|
|||||||
import { defineConfig } from 'vitepress';
|
import { defineConfig } from "vitepress";
|
||||||
|
|
||||||
// https://vitepress.dev/reference/site-config
|
// https://vitepress.dev/reference/site-config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
title: 'Pumpkin',
|
title: "Pumpkin",
|
||||||
description: 'Empowering everyone to host fast and efficient Minecraft servers',
|
description:
|
||||||
lang: 'en-US',
|
"Empowering everyone to host fast and efficient Minecraft servers",
|
||||||
|
lang: "en-US",
|
||||||
|
base: "/Pumpkin/",
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{
|
{
|
||||||
text: 'About',
|
text: "About",
|
||||||
items: [
|
items: [
|
||||||
{ text: 'Introduction', link: '/about/introduction' },
|
{ text: "Introduction", link: "/about/introduction" },
|
||||||
{ text: 'Quick Start', link: '/about/quick-start' },
|
{ text: "Quick Start", link: "/about/quick-start" },
|
||||||
{ text: 'Contributing', link: 'https://github.com/Snowiiii/Pumpkin/blob/master/CONTRIBUTING.md' },
|
{
|
||||||
|
text: "Contributing",
|
||||||
|
link: "https://github.com/Snowiiii/Pumpkin/blob/master/CONTRIBUTING.md",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Plugins',
|
text: "Plugins",
|
||||||
items: [
|
items: [
|
||||||
{ text: 'About Plugins', link: '/plugins/about' },
|
{ text: "About Plugins", link: "/plugins/about" },
|
||||||
{ text: 'Getting Started in Rust', link: '/plugins/getting-started-rs' },
|
{
|
||||||
|
text: "Getting Started in Rust",
|
||||||
|
link: "/plugins/getting-started-rs",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
socialLinks: [
|
socialLinks: [
|
||||||
{ icon: 'github', link: 'https://github.com/Snowiiii/Pumpkin' },
|
{ icon: "github", link: "https://github.com/Snowiiii/Pumpkin" },
|
||||||
{ icon: 'discord', link: 'https://discord.gg/RNm224ZsDq' },
|
{ icon: "discord", link: "https://discord.gg/RNm224ZsDq" },
|
||||||
],
|
],
|
||||||
|
|
||||||
logo: '/assets/icon.png',
|
logo: "/assets/icon.png",
|
||||||
},
|
},
|
||||||
head: [['link', { rel: 'icon', href: '/assets/favicon.ico' }]],
|
head: [["link", { rel: "icon", href: "/assets/favicon.ico" }]],
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user