kb-personal/astro.config.mjs
2025-06-16 21:46:27 +05:00

51 lines
1.6 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
base: '/',
integrations: [
starlight({
title: 'Шаблоны кода 1С',
customCss: [
// Relative path to your custom CSS file
'./src/styles/custom.css',
],
social: [{ icon: 'github', label: 'GitHub', href: 'https://git.sinenikolsky.ru/wakadakawaka/kb-personal.git' }],
sidebar: [
//{
// label: 'База знаний',
// // Autogenerate a group of links for the 'constellations' directory.
// collapsed: true,
// autogenerate: { directory: 'knowledge-base' },
// },
{
label: 'Общие',
// Autogenerate a group of links for the 'constellations' directory.
collapsed: true,
autogenerate: { directory: 'knowledge-base/Общие' },
},
{
label: 'Типовые',
// Autogenerate a group of links for the 'constellations' directory.
collapsed: true,
autogenerate: { directory: 'knowledge-base/Типовые' },
},
{
label: 'Администрирование',
// Autogenerate a group of links for the 'constellations' directory.
collapsed: true,
autogenerate: { directory: 'knowledge-base/Администрирование' },
},
{
label: 'Прочее',
// Autogenerate a group of links for the 'constellations' directory.
collapsed: true,
autogenerate: { directory: 'knowledge-base/Прочее' },
},
],
}),
],
});