This commit is contained in:
Бурденко Алексей
2025-06-20 15:36:38 +03:00
parent d0c4ea2766
commit 9cb012066d
6 changed files with 107 additions and 4 deletions
+1 -4
View File
@@ -37,15 +37,12 @@ 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: typeof new_version !== 'undefined' ? '/' : '/docs/',
base: '/',
markdown: {
config(md) {
md.use(tabsMarkdownPlugin)