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: { docs: {
sidebarPath: require.resolve("./sidebars.ts"), sidebarPath: require.resolve("./sidebars.ts"),
editUrl: editUrl:
'https://github.com/GeyserMC/Geyser/tree/main/', 'https://github.com/GeyserMC/GeyserWebsite/tree/master/',
routeBasePath: '/', // Serve the docs at the site's root routeBasePath: '/', // Serve the docs at the site's root
docItemComponent: "@theme/ApiItem", docItemComponent: "@theme/ApiItem",
@@ -161,7 +161,10 @@ const config: Config = {
prism: { prism: {
theme: prismThemes.github, theme: prismThemes.github,
darkTheme: prismThemes.dracula, 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: { colorMode: {
defaultMode: 'dark', defaultMode: 'dark',