Skip to content
Snippets Groups Projects
Commit 7ed92f86 authored by David Schwarzmann's avatar David Schwarzmann
Browse files

Change baseURL and editURL for preview env

parent 5515bd4d
No related branches found
No related tags found
1 merge request!43Introduce docusaurus
......@@ -3,7 +3,7 @@ module.exports = {
title: "FIT-Connect APIs",
tagline: "Dokumentation für die APIs von FIT-Connect",
url: "https://fitko.uber.space",
baseUrl: "/",
baseUrl: "/preview/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
......@@ -45,7 +45,8 @@ module.exports = {
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.fitko.de/fit-connect/api",
editUrl: ({ version, versionDocsDirPath, docPath }) =>
`https://git.fitko.de/fit-connect/api/-/edit/preview/`,
routeBasePath: "/",
},
theme: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment