Merge branch 'feature/ci' into 'main'

Feature/ci

See merge request common/vega/beecloud-docs!4
This commit is contained in:
Бурденко Алексей Иванович
2025-06-23 13:25:51 +00:00
+4 -1
View File
@@ -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)