From 762c121103eabd27415b9b2350e72eab81416489 Mon Sep 17 00:00:00 2001 From: Joshua Castle <26531652+Kas-tle@users.noreply.github.com> Date: Sun, 14 Jul 2024 14:19:34 -0700 Subject: [PATCH] Prepare config for prod Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com> --- docusaurus.config.ts | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 0238f28..ab95f0b 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -10,21 +10,14 @@ const config: Config = { // TODO: Change to correct domain in production! url: 'https://dev.geysermc.org', - // Set the // pathname under which your site is served - // For GitHub pages deployment, it is often '//' baseUrl: '/', - // GitHub pages deployment config. - // If you aren't using GitHub pages, you don't need these. - organizationName: 'GeyserMC', // Usually your GitHub org/user name. - projectName: 'GeyserWebsite', // Usually your repo name. + organizationName: 'GeyserMC', + projectName: 'GeyserWebsite', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', - // Even if you don't use internationalization, you can use this field to set - // useful metadata like html lang. For example, if your site is Chinese, you - // may want to replace "en" with "zh-Hans". i18n: { defaultLocale: 'en', locales: ['en'], @@ -39,7 +32,7 @@ const config: Config = { editUrl: 'https://github.com/GeyserMC/GeyserWebsite/tree/master/', - routeBasePath: '/', // Serve the docs at the site's root + routeBasePath: '/', docItemComponent: "@theme/ApiItem", }, blog: {}, @@ -166,10 +159,10 @@ const config: Config = { position: 'right', className: 'header-discord-link' }, - { - type: 'localeDropdown', - position: 'right', - }, + // { + // type: 'localeDropdown', + // position: 'right', + // }, ], }, footer: { @@ -201,14 +194,6 @@ const config: Config = { contextualSearch: true, searchPagePath: 'search', }, - // Remove in production - announcementBar: { - id: 'support_us', - content: 'This is the in-development version of the site and may not be fully updated. Vist the main site or current wiki for the most updated info.', - backgroundColor: '#ff333d', - textColor: '#e3e3e3', - isCloseable: true, - }, metadata: [ {name: 'theme-color', content: '#25c2a0'}, ],