Merge pull request #497 from automatisch/BASE_URL_in_docs
chore(docs): accept BASE_URL as environment variable
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import { defineConfig } from 'vitepress';
|
||||
|
||||
const BASE = process.env.BASE_URL || '/';
|
||||
|
||||
export default defineConfig({
|
||||
base: BASE,
|
||||
lang: 'en-US',
|
||||
title: 'Automatisch Docs',
|
||||
description: 'Vite & Vue powered static site generator.',
|
||||
|
Reference in New Issue
Block a user