Merge branch 'feature/header#VEGA-4759' into 'main'
VEGA-4759 Адаптация UI шапки портала документации See merge request common/vega/beecloud-docs!20
This commit is contained in:
+21
-20
@@ -42,7 +42,7 @@ console.log({ base: typeof new_version !== 'undefined' ? '/' : '/docs/' })
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
title: "Beeline Cloud",
|
||||
title: "cloud",
|
||||
description: "Документация Beeline Cloud",
|
||||
head: [['link', { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/bee-favicon.png' }]],
|
||||
base: typeof new_version !== 'undefined' ? '/' : '/docs/',
|
||||
@@ -63,7 +63,11 @@ export default defineConfig({
|
||||
}
|
||||
},
|
||||
themeConfig: {
|
||||
logo: '/favicon.svg',
|
||||
logo: {
|
||||
light: '/logo-light-theme.svg',
|
||||
dark: '/logo-dark-theme.svg',
|
||||
alt: 'cloud',
|
||||
},
|
||||
search: {
|
||||
provider: 'local',
|
||||
options: {
|
||||
@@ -90,30 +94,27 @@ export default defineConfig({
|
||||
}
|
||||
},
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
// nav: [
|
||||
// ],
|
||||
|
||||
// socialLinks: [
|
||||
// { icon: { svg: gitlab }, link: 'https://git.vimpelcom.ru/common/vega/docs' }
|
||||
// ],
|
||||
|
||||
// editLink: {
|
||||
// pattern: 'https://git.vimpelcom.ru/-/ide/project/common/vega/docs/edit/develop/-/src/:path',
|
||||
// text: 'Отредактируйте эту страницу на GitLab'
|
||||
// },
|
||||
nav: [
|
||||
{
|
||||
text: 'Документация',
|
||||
link: '/guide/',
|
||||
},
|
||||
{
|
||||
text: 'API',
|
||||
link: '',
|
||||
},
|
||||
{
|
||||
text: 'Terraform',
|
||||
// link: '/terraform/',
|
||||
link: '',
|
||||
},
|
||||
],
|
||||
|
||||
docFooter: {
|
||||
next: 'Вперед',
|
||||
prev: 'Назад'
|
||||
},
|
||||
|
||||
// lastUpdated: {
|
||||
// text: 'Обновлена',
|
||||
// formatOptions: {
|
||||
// dateStyle: 'long',
|
||||
// }
|
||||
// },
|
||||
|
||||
outline: {
|
||||
label: 'Содержание'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user