frogmc.dev/.vitepress/config.mts

100 lines
3.9 KiB
TypeScript

import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: 'FrogMC',
description: "funny frogloader",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Docs', link: '/info' },
{ text: 'Mod Template', link: '/template' },
{ text: 'About', link: '/about' }
],
sidebar: [
{
text: 'Home',
items: [
{ text: 'Information', link: '/info' },
]
},
{
text: 'Installation',
items: [
{ text: 'Client', link: '/install/client' },
{ text: 'Server', link: '/install/server' }
]
},
{
text: 'Development',
items: [
{ text: 'Creating your first mod', link: '/tutorial' },
{ text: 'Using FrogLib', link: '/tutorial/froglib' },
{ text: 'Add a Block', link: '/tutorial/block' },
{ text: 'Add an Item', link: '/tutorial/item' },
{ text: 'Mixins', link: '/tutorial/mixins' },
{ text: 'AccessWideners', link: '/tutorial/accesswideners' },
]
},
{
text: 'Specifications',
items: [
{ text: 'frog.mod.toml', link: '/spec/fmt' },
{ text: '*.mixins.json', link: '/spec/mixin-config' },
{ text: '*.accesswidener', link: '/spec/aw' },
]
},
{
text: 'Extensions',
items: [
{ text: 'Main Entrypoint', link: '/exts/main' },
{ text: 'Client Entrypoint', link: '/exts/client' },
{ text: 'Server Entrypoint', link: '/exts/server' },
{ text: 'Mixin', link: '/exts/mixin' },
{ text: 'AccessWideners', link: '/exts/aw' },
{ text: 'PreLaunch', link: '/exts/prelaunch' },
]
},
{
text: 'Contributing',
items: [
{ text: 'Guidelines', link: '/contributing/guidelines' },
{ text: 'Tools', link: '/contributing/tools' },
]
},
],
socialLinks: [
{
icon: 'discord',
link: 'https://discord.frogmc.dev'
},
{ icon: {
svg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Forgejo</title><path d="M16.7773 0c1.6018 0 2.9004 1.2986 2.9004 2.9005s-1.2986 2.9004-2.9004 2.9004c-1.0854 0-2.0315-.596-2.5288-1.4787H12.91c-2.3322 0-4.2272 1.8718-4.2649 4.195l-.0007 2.1175a7.0759 7.0759 0 0 1 4.148-1.4205l.1176-.001 1.3385.0002c.4973-.8827 1.4434-1.4788 2.5288-1.4788 1.6018 0 2.9004 1.2986 2.9004 2.9005s-1.2986 2.9004-2.9004 2.9004c-1.0854 0-2.0315-.596-2.5288-1.4787H12.91c-2.3322 0-4.2272 1.8718-4.2649 4.195l-.0007 2.319c.8827.4973 1.4788 1.4434 1.4788 2.5287 0 1.602-1.2986 2.9005-2.9005 2.9005-1.6018 0-2.9004-1.2986-2.9004-2.9005 0-1.0853.596-2.0314 1.4788-2.5287l-.0002-9.9831c0-3.887 3.1195-7.0453 6.9915-7.108l.1176-.001h1.3385C14.7458.5962 15.692 0 16.7773 0ZM7.2227 19.9052c-.6596 0-1.1943.5347-1.1943 1.1943s.5347 1.1943 1.1943 1.1943 1.1944-.5347 1.1944-1.1943-.5348-1.1943-1.1944-1.1943Zm9.5546-10.4644c-.6596 0-1.1944.5347-1.1944 1.1943s.5348 1.1943 1.1944 1.1943c.6596 0 1.1943-.5347 1.1943-1.1943s-.5347-1.1943-1.1943-1.1943Zm0-7.7346c-.6596 0-1.1944.5347-1.1944 1.1943s.5348 1.1943 1.1944 1.1943c.6596 0 1.1943-.5347 1.1943-1.1943s-.5347-1.1943-1.1943-1.1943Z"/></svg>'
}, link: 'https://git.frogmc.dev/frogmc', ariaLabel: 'FrogMC Forgejo' }
],
footer: {
message: 'FrogMC is not an official Minecraft Product and is not approved by or associated with Mojang.',
copyright: 'Copyright © 2024 FrogMC, <a href="https://git.frogmc.dev/frogmc/frogmc.dev">licensed under Apache-2.0</a>'
},
editLink: {
pattern: 'https://git.frogmc.dev/frogmc/frogmc.dev/edit/mistress/:path'
},
outline: 'deep',
externalLinkIcon: true
},
locales: {
root: {
label: 'English',
lang: 'en'
}
},
sitemap: {
hostname: 'https://frogmc.dev'
},
lastUpdated: true
})