From 862ed0f7d6ff3d35906954fabf74c060f400b2de Mon Sep 17 00:00:00 2001 From: tomasalias Date: Sun, 25 Oct 2026 13:38:11 +0100 Subject: [PATCH] chore(docs): configure root base path and add Forgejo nav link --- docs/.vitepress/config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 9e2cc00..db3911d 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -3,13 +3,13 @@ import { defineConfig } from 'vitepress'; export default defineConfig({ title: 'BetterCurseForge', description: 'Client mod for CurseForge Launcher', - base: process.env.BASE_URL || '/BetterCurseForge/', + base: process.env.BASE_URL || '/', appearance: 'dark', lastUpdated: true, cleanUrls: true, head: [ - ['link', { rel: 'icon', type: 'image/png', href: (process.env.BASE_URL || '/BetterCurseForge/') + 'logo.png' }], + ['link', { rel: 'icon', type: 'image/png', href: (process.env.BASE_URL || '/') + 'logo.png' }], ['meta', { name: 'theme-color', content: '#9333ea' }], ['meta', { name: 'og:type', content: 'website' }], ['meta', { name: 'og:title', content: 'BetterCurseForge' }], @@ -23,6 +23,7 @@ export default defineConfig({ nav: [ { text: 'Guide', link: '/guide/installation' }, { text: 'API', link: '/api/' }, + { text: 'Forgejo', link: 'http://92.5.113.44:3000/tomasalias/BetterCurseForge' }, { text: 'GitHub', link: 'https://github.com/tomasalias/BetterCurseForge' }, ],