Skip to content

Commit

Permalink
Fix docusaurus config
Browse files Browse the repository at this point in the history
  • Loading branch information
majori committed Oct 31, 2023
1 parent cd01f4a commit f0e6b00
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions docs/site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ const config = {
docs: {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/futurice/jalapeno/tree/main/docs/",
remarkPlugins: [
tabBlocksRemarkPlugin
],
editUrl: "https://github.com/futurice/jalapeno/tree/main/docs/site",
remarkPlugins: [tabBlocksRemarkPlugin],
},
blog: false,
theme: {
Expand All @@ -66,7 +64,7 @@ const config = {
items: [
{
type: "doc",
docId: "intro",
docId: "installation",
position: "left",
label: "Installation",
},
Expand All @@ -76,6 +74,12 @@ const config = {
position: "left",
label: "Usage",
},
{
type: "doc",
docId: "api",
position: "left",
label: "API",
},
{
href: "https://github.com/futurice/jalapeno",
label: "GitHub",
Expand All @@ -97,6 +101,10 @@ const config = {
label: "Usage",
to: "/usage",
},
{
label: "API",
to: "/api",
},
],
},
{
Expand All @@ -113,7 +121,7 @@ const config = {
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ['batch', 'powershell'],
additionalLanguages: ["batch", "powershell"],
},
}),
};
Expand Down

0 comments on commit f0e6b00

Please sign in to comment.