Skip to content

Commit

Permalink
Fix edit url
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Mar 25, 2024
1 parent f10d425 commit 70cc915
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 70cc915

Please sign in to comment.