mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 03:57:09 +00:00
<type>(scope): <description>
[body] [footer(s)]
This commit is contained in:
+33
-29
@@ -1,66 +1,68 @@
|
|||||||
import {themes as prismThemes} from 'prism-react-renderer';
|
import { themes as prismThemes } from "prism-react-renderer";
|
||||||
import type {Config} from '@docusaurus/types';
|
import type { Config } from "@docusaurus/types";
|
||||||
import type * as Preset from '@docusaurus/preset-classic';
|
import type * as Preset from "@docusaurus/preset-classic";
|
||||||
|
|
||||||
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
||||||
|
|
||||||
const config: Config = {
|
const config: Config = {
|
||||||
title: 'DataRush',
|
title: "DataRush",
|
||||||
tagline: 'Изучите основы анализа данных здесь!',
|
tagline: "Изучите основы анализа данных здесь!",
|
||||||
favicon: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
favicon: "https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg",
|
||||||
|
|
||||||
url: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru',
|
url: "https://prod-team-15-2pc0i3lc.final.prodcontest.ru",
|
||||||
baseUrl: '/docs/',
|
baseUrl: "/docs/",
|
||||||
|
|
||||||
organizationName: 'megazord',
|
organizationName: "megazord",
|
||||||
projectName: 'megazord',
|
projectName: "megazord",
|
||||||
|
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: "throw",
|
||||||
onBrokenMarkdownLinks: 'warn',
|
onBrokenMarkdownLinks: "warn",
|
||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'ru',
|
defaultLocale: "ru",
|
||||||
locales: ['ru'],
|
locales: ["ru"],
|
||||||
},
|
},
|
||||||
|
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
'classic',
|
"classic",
|
||||||
{
|
{
|
||||||
docs: {},
|
docs: {
|
||||||
|
routeBasePath: "/",
|
||||||
|
},
|
||||||
theme: {
|
theme: {
|
||||||
customCss: './src/css/custom.css',
|
customCss: "./src/css/custom.css",
|
||||||
},
|
},
|
||||||
} satisfies Preset.Options,
|
} satisfies Preset.Options,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
image: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
image: "https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg",
|
||||||
navbar: {
|
navbar: {
|
||||||
title: 'DataRush',
|
title: "DataRush",
|
||||||
logo: {
|
logo: {
|
||||||
alt: 'DataRush',
|
alt: "DataRush",
|
||||||
src: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
src: "https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg",
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
type: 'docSidebar',
|
type: "docSidebar",
|
||||||
sidebarId: 'defaultSidebar',
|
sidebarId: "defaultSidebar",
|
||||||
position: 'left',
|
position: "left",
|
||||||
label: 'Документация',
|
label: "Документация",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
style: 'dark',
|
style: "dark",
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
title: 'Документация',
|
title: "Документация",
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Начало',
|
label: "Начало",
|
||||||
to: '/docs/docs/intro',
|
to: "/intro",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -72,6 +74,8 @@ const config: Config = {
|
|||||||
darkTheme: prismThemes.dracula,
|
darkTheme: prismThemes.dracula,
|
||||||
},
|
},
|
||||||
} satisfies Preset.ThemeConfig,
|
} satisfies Preset.ThemeConfig,
|
||||||
|
|
||||||
|
staticDirectories: ["static"],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|||||||
Reference in New Issue
Block a user