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>
|
</svg>
|
||||||
`
|
`
|
||||||
|
|
||||||
|
const new_version = process.env?.VITE_NEW_VERSION;
|
||||||
|
console.log({ base: typeof new_version !== 'undefined' ? '/' : '/docs/' })
|
||||||
|
|
||||||
// https://vitepress.dev/reference/site-config
|
// https://vitepress.dev/reference/site-config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
title: "BeeCloud Docs",
|
title: "BeeCloud Docs",
|
||||||
description: "Документация публичного облака",
|
description: "Документация публичного облака",
|
||||||
head: [['link', { rel: 'icon', href: '/favicon.svg' }]],
|
head: [['link', { rel: 'icon', href: '/favicon.svg' }]],
|
||||||
base: '/',
|
base: typeof new_version !== 'undefined' ? '/' : '/docs/',
|
||||||
markdown: {
|
markdown: {
|
||||||
config(md) {
|
config(md) {
|
||||||
md.use(tabsMarkdownPlugin)
|
md.use(tabsMarkdownPlugin)
|
||||||
|
|||||||
Reference in New Issue
Block a user