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:

committed by
Ömer Faruk Aydın

parent
31403b7020
commit
d4ad8645c9
@@ -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',
|
||||
|
Reference in New Issue
Block a user