Skip to content

Commit

Permalink
Set base url to /Pumpkin/ for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas0008 committed Sep 2, 2024
1 parent fbf2df1 commit f6a4082
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,36 +1,44 @@
import { defineConfig } from 'vitepress';
import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: 'Pumpkin',
description: 'Empowering everyone to host fast and efficient Minecraft servers',
lang: 'en-US',
title: "Pumpkin",
description:
"Empowering everyone to host fast and efficient Minecraft servers",
lang: "en-US",
base: "/Pumpkin/",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
sidebar: [
{
text: 'About',
text: "About",
items: [
{ text: 'Introduction', link: '/about/introduction' },
{ text: 'Quick Start', link: '/about/quick-start' },
{ text: 'Contributing', link: 'https://github.com/Snowiiii/Pumpkin/blob/master/CONTRIBUTING.md' },
{ text: "Introduction", link: "/about/introduction" },
{ text: "Quick Start", link: "/about/quick-start" },
{
text: "Contributing",
link: "https://github.com/Snowiiii/Pumpkin/blob/master/CONTRIBUTING.md",
},
],
},
{
text: 'Plugins',
text: "Plugins",
items: [
{ text: 'About Plugins', link: '/plugins/about' },
{ text: 'Getting Started in Rust', link: '/plugins/getting-started-rs' },
{ text: "About Plugins", link: "/plugins/about" },
{
text: "Getting Started in Rust",
link: "/plugins/getting-started-rs",
},
],
},
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/Snowiiii/Pumpkin' },
{ icon: 'discord', link: 'https://discord.gg/RNm224ZsDq' },
{ icon: "github", link: "https://github.com/Snowiiii/Pumpkin" },
{ 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" }]],
});

0 comments on commit f6a4082

Please sign in to comment.