Fix edit url
This commit is contained in:
1 file changed
+5
-2
@@ -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',
|
||||||
|
|||||||
Reference in new issue
Block a user