Fix edit url

This commit is contained in:
rtm516 committed 2024-03-25 11:29:12 +00:00
1 parent f10d425ba9
commit 70cc915175
1 file changed
+5 -2
+5 -2
View File
@@ -37,7 +37,7 @@ const config: Config = {
docs: {
sidebarPath: require.resolve("./sidebars.ts"),
editUrl:
'https://github.com/GeyserMC/Geyser/tree/main/',
'https://github.com/GeyserMC/GeyserWebsite/tree/master/',
routeBasePath: '/', // Serve the docs at the site's root
docItemComponent: "@theme/ApiItem",
@@ -161,7 +161,10 @@ const config: Config = {
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['bash', 'batch', 'java', 'json', 'php', 'powershell', 'csharp', 'ruby'],
additionalLanguages: [
'bash', 'batch', 'java', 'json', // Docs
'php', 'powershell', 'csharp', 'ruby' // API examples
],
},
colorMode: {
defaultMode: 'dark',