Skip to content

Commit

Permalink
Updated Config
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzDabbzz committed Jan 27, 2024
1 parent 8ea9b69 commit 35f2610
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import type * as Preset from '@docusaurus/preset-classic';

const config: Config = {
title: 'Palworld Modding Docs',
tagline: 'Palworld Related Modding Docs',
tagline: '',
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: 'https://palworldmodding.github.com',
url: 'https://pwmodding.wiki',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
Expand Down Expand Up @@ -56,12 +56,17 @@ const config: Config = {

themeConfig: {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: true,
},
image: 'img/palworld.png',
navbar: {
title: 'Palworld Modding Docs',
logo: {
alt: 'Palworld Modding Logo',
src: 'img/logo.svg',
src: 'img/palworld.png',
},
items: [
{
Expand Down Expand Up @@ -94,16 +99,12 @@ const config: Config = {
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
label: 'Nebulae Discord',
href: 'https://discord.gg/Nkb2JHu7wc',
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus',
label: 'Palworld Modding Discord',
href: 'https://discord.gg/qHTZNcvYsv',
},
],
},
Expand All @@ -124,8 +125,8 @@ const config: Config = {
copyright: `Copyright © ${new Date().getFullYear()} Palworld Modding. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
theme: prismThemes.vsLight,
darkTheme: prismThemes.vsDark,
},
} satisfies Preset.ThemeConfig,
};
Expand Down

0 comments on commit 35f2610

Please sign in to comment.