2021-04-02 14:38:59 +03:00
|
|
|
|
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
2021-11-26 11:51:11 +04:00
|
|
|
|
const math = require('remark-math');
|
|
|
|
|
const katex = require('rehype-katex');
|
2021-04-02 14:38:59 +03:00
|
|
|
|
module.exports = {
|
|
|
|
|
title: 'Robossembler',
|
2022-12-28 21:25:34 +00:00
|
|
|
|
tagline: 'Отворённая Робототехника',
|
2022-10-23 16:07:13 +03:00
|
|
|
|
url: 'https://robossembler.gitlab.io',
|
|
|
|
|
baseUrl: '/',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
onBrokenLinks: 'throw',
|
|
|
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
|
favicon: 'img/favicon.ico',
|
|
|
|
|
organizationName: 'robossembler', // Usually your GitHub org/user name.
|
2022-10-23 16:07:13 +03:00
|
|
|
|
projectName: 'robossembler.gitlab.io', // Usually your repo name.
|
2021-04-02 14:38:59 +03:00
|
|
|
|
themeConfig: {
|
2022-11-19 17:35:07 +03:00
|
|
|
|
image: 'img/robofactory-art.jpg',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
navbar: {
|
|
|
|
|
title: 'Robossembler',
|
|
|
|
|
logo: {
|
|
|
|
|
alt: 'Robossembler Logo',
|
|
|
|
|
src: 'img/logo.svg',
|
|
|
|
|
},
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
to: 'docs/',
|
|
|
|
|
activeBasePath: 'docs',
|
2022-06-28 17:07:08 +03:00
|
|
|
|
label: 'Документация',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
position: 'left',
|
|
|
|
|
},
|
2022-06-28 17:07:08 +03:00
|
|
|
|
{to: 'blog', label: 'Новости', position: 'left'},
|
2021-04-02 14:38:59 +03:00
|
|
|
|
{
|
2024-10-01 11:35:20 +00:00
|
|
|
|
href: 'https://t.me/robossembler_ru',
|
|
|
|
|
label: 'Telegram',
|
|
|
|
|
position: 'right',
|
2024-10-01 11:35:43 +00:00
|
|
|
|
},
|
2024-10-01 11:35:20 +00:00
|
|
|
|
{
|
|
|
|
|
href: 'https://gitlab.com/robossembler',
|
2021-05-20 12:47:35 +03:00
|
|
|
|
label: 'GitLab',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
position: 'right',
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
footer: {
|
|
|
|
|
style: 'dark',
|
|
|
|
|
links: [
|
|
|
|
|
{
|
2022-06-28 17:07:08 +03:00
|
|
|
|
title: 'Документация',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
items: [
|
|
|
|
|
{
|
2022-06-28 17:07:08 +03:00
|
|
|
|
label: 'Обзор репозиториев',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
to: 'docs/',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-06-28 17:07:08 +03:00
|
|
|
|
title: 'Сообщество',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
items: [
|
|
|
|
|
{
|
2022-06-28 17:07:08 +03:00
|
|
|
|
label: 'GitLab-группа',
|
2022-10-23 16:07:13 +03:00
|
|
|
|
href: 'https://gitlab.com/robossembler',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-06-28 17:07:08 +03:00
|
|
|
|
label: 'Telegram-канал',
|
|
|
|
|
href: 'https://t.me/robossembler_ru',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-06-28 17:07:08 +03:00
|
|
|
|
title: 'Подробнее',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
items: [
|
|
|
|
|
{
|
2022-06-28 17:07:08 +03:00
|
|
|
|
label: 'Новости',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
to: 'blog',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
2022-12-28 21:25:34 +00:00
|
|
|
|
copyright: `Copyleft © ${new Date().getFullYear()} Команда Robossembler, сайт сделан при помощи Docusaurus. ООО «Робосборище», ИНН 5024227970, ОГРН 1225000134677`
|
2021-04-02 14:38:59 +03:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
presets: [
|
|
|
|
|
[
|
|
|
|
|
'@docusaurus/preset-classic',
|
|
|
|
|
{
|
|
|
|
|
docs: {
|
|
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
|
|
|
// Please change this to your repo.
|
|
|
|
|
editUrl:
|
2022-10-23 16:07:13 +03:00
|
|
|
|
'https://gitlab.com/robossembler/robossembler.gitlab.io/-/edit/master/',
|
2021-05-25 23:25:32 +03:00
|
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
|
showLastUpdateTime: true,
|
2021-11-26 11:51:11 +04:00
|
|
|
|
remarkPlugins: [math],
|
|
|
|
|
rehypePlugins: [katex],
|
2021-04-02 14:38:59 +03:00
|
|
|
|
},
|
|
|
|
|
blog: {
|
|
|
|
|
showReadingTime: true,
|
|
|
|
|
// Please change this to your repo.
|
|
|
|
|
editUrl:
|
2022-10-23 16:07:13 +03:00
|
|
|
|
'https://gitlab.com/robossembler/robossembler.gitlab.io/-/edit/master/',
|
2021-04-02 14:38:59 +03:00
|
|
|
|
},
|
|
|
|
|
theme: {
|
|
|
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
],
|
2021-11-26 11:51:11 +04:00
|
|
|
|
stylesheets: [
|
|
|
|
|
{
|
|
|
|
|
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css',
|
|
|
|
|
integrity:
|
|
|
|
|
'sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc',
|
|
|
|
|
crossorigin: 'anonymous',
|
|
|
|
|
},
|
|
|
|
|
],
|
2021-04-02 14:38:59 +03:00
|
|
|
|
};
|