chore(docs): make baseUrl configurable

Use BASE_URL environment variable to configure baseUrl in docusaurus config. Otherwise, `/` is used by default.
This commit is contained in:
Ali BARIN
2022-04-12 00:30:26 +03:00
committed by Ömer Faruk Aydın
parent 31403b7020
commit d4ad8645c9
+1 -1
View File
@@ -9,7 +9,7 @@ const config = {
title: 'Automatisch Docs',
tagline: 'Automatisch Docs',
url: 'https://docs.automatisch.io',
baseUrl: '/',
baseUrl: process.env.BASE_URL ? process.env.BASE_URL : '/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',