mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 22:07:10 +00:00
9093c0bb90
[body] [footer(s)]
78 lines
1.8 KiB
TypeScript
78 lines
1.8 KiB
TypeScript
import {themes as prismThemes} from 'prism-react-renderer';
|
|
import type {Config} from '@docusaurus/types';
|
|
import type * as Preset from '@docusaurus/preset-classic';
|
|
|
|
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
|
|
|
const config: Config = {
|
|
title: 'DataRush',
|
|
tagline: 'Изучите основы анализа данных здесь!',
|
|
favicon: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
|
|
|
url: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru',
|
|
baseUrl: '/docs/',
|
|
|
|
organizationName: 'megazord',
|
|
projectName: 'megazord',
|
|
|
|
onBrokenLinks: 'throw',
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
i18n: {
|
|
defaultLocale: 'ru',
|
|
locales: ['ru'],
|
|
},
|
|
|
|
presets: [
|
|
[
|
|
'classic',
|
|
{
|
|
docs: {},
|
|
theme: {
|
|
customCss: './src/css/custom.css',
|
|
},
|
|
} satisfies Preset.Options,
|
|
],
|
|
],
|
|
|
|
themeConfig: {
|
|
image: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
|
navbar: {
|
|
title: 'DataRush',
|
|
logo: {
|
|
alt: 'DataRush',
|
|
src: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
|
},
|
|
items: [
|
|
{
|
|
type: 'docSidebar',
|
|
sidebarId: 'defaultSidebar',
|
|
position: 'left',
|
|
label: 'Документация',
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
style: 'dark',
|
|
links: [
|
|
{
|
|
title: 'Документация',
|
|
items: [
|
|
{
|
|
label: 'Начало',
|
|
to: '/docs/intro',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
copyright: `Создано для Megazord ♥`,
|
|
},
|
|
prism: {
|
|
theme: prismThemes.github,
|
|
darkTheme: prismThemes.dracula,
|
|
},
|
|
} satisfies Preset.ThemeConfig,
|
|
};
|
|
|
|
export default config;
|