Prepare config for prod
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
1 file changed
+7
-22
+7
-22
@@ -10,21 +10,14 @@ const config: Config = {
|
|||||||
|
|
||||||
// TODO: Change to correct domain in production!
|
// TODO: Change to correct domain in production!
|
||||||
url: 'https://dev.geysermc.org',
|
url: 'https://dev.geysermc.org',
|
||||||
// Set the /<baseUrl>/ pathname under which your site is served
|
|
||||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
|
|
||||||
// GitHub pages deployment config.
|
organizationName: 'GeyserMC',
|
||||||
// If you aren't using GitHub pages, you don't need these.
|
projectName: 'GeyserWebsite',
|
||||||
organizationName: 'GeyserMC', // Usually your GitHub org/user name.
|
|
||||||
projectName: 'GeyserWebsite', // Usually your repo name.
|
|
||||||
|
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
onBrokenMarkdownLinks: 'warn',
|
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: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
locales: ['en'],
|
locales: ['en'],
|
||||||
@@ -39,7 +32,7 @@ const config: Config = {
|
|||||||
editUrl:
|
editUrl:
|
||||||
'https://github.com/GeyserMC/GeyserWebsite/tree/master/',
|
'https://github.com/GeyserMC/GeyserWebsite/tree/master/',
|
||||||
|
|
||||||
routeBasePath: '/', // Serve the docs at the site's root
|
routeBasePath: '/',
|
||||||
docItemComponent: "@theme/ApiItem",
|
docItemComponent: "@theme/ApiItem",
|
||||||
},
|
},
|
||||||
blog: {},
|
blog: {},
|
||||||
@@ -166,10 +159,10 @@ const config: Config = {
|
|||||||
position: 'right',
|
position: 'right',
|
||||||
className: 'header-discord-link'
|
className: 'header-discord-link'
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
type: 'localeDropdown',
|
// type: 'localeDropdown',
|
||||||
position: 'right',
|
// position: 'right',
|
||||||
},
|
// },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
@@ -201,14 +194,6 @@ const config: Config = {
|
|||||||
contextualSearch: true,
|
contextualSearch: true,
|
||||||
searchPagePath: 'search',
|
searchPagePath: 'search',
|
||||||
},
|
},
|
||||||
// Remove in production
|
|
||||||
announcementBar: {
|
|
||||||
id: 'support_us',
|
|
||||||
content: '<b>This is the in-development version of the site and may not be fully updated. Vist the <a target="_blank" rel="noopener noreferrer" href="https://geysermc.org/">main site</a> or <a target="_blank" rel="noopener noreferrer" href="https://wiki.geysermc.org/">current wiki</a> for the most updated info.</b>',
|
|
||||||
backgroundColor: '#ff333d',
|
|
||||||
textColor: '#e3e3e3',
|
|
||||||
isCloseable: true,
|
|
||||||
},
|
|
||||||
metadata: [
|
metadata: [
|
||||||
{name: 'theme-color', content: '#25c2a0'},
|
{name: 'theme-color', content: '#25c2a0'},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user