Merge branch 'feature/ci' into 'main'
Feature/ci See merge request common/vega/beecloud-docs!4
This commit is contained in:
@@ -37,12 +37,15 @@ const gitlab = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
</svg>
|
||||
`
|
||||
|
||||
const new_version = process.env?.VITE_NEW_VERSION;
|
||||
console.log({ base: typeof new_version !== 'undefined' ? '/' : '/docs/' })
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
title: "BeeCloud Docs",
|
||||
description: "Документация публичного облака",
|
||||
head: [['link', { rel: 'icon', href: '/favicon.svg' }]],
|
||||
base: '/',
|
||||
base: typeof new_version !== 'undefined' ? '/' : '/docs/',
|
||||
markdown: {
|
||||
config(md) {
|
||||
md.use(tabsMarkdownPlugin)
|
||||
|
||||
Reference in New Issue
Block a user