Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
pc-git-bot committed Aug 17, 2022
1 parent b034d78 commit 072311f
Show file tree
Hide file tree
Showing 5 changed files with 11,039 additions and 0 deletions.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
136 changes: 136 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');

/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'PolitCubes Wiki',
tagline: 'Dinosaurs are cool',
url: 'https://wiki.politcubes.ru',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'PolitCubes',
projectName: 'wiki',
themeConfig: {
navbar: {
title: 'PolitCubes Wiki',
logo: {
alt: 'PolitCubes Logo',
src: 'static/logo.svg',
srcDark: 'static/logo_dark.svg'
},
items: [
{
type: 'doc',
docId: 'intro',
position: 'left',
label: 'Введение',
},
{
href: 'https://github.com/PolitCubes/wiki',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
logo: {
alt: 'PolitCubes Logo',
src: 'static/logo_dark.svg',
},

links: [
{
title: 'Основное',
items: [
{
label: 'Правила проекта',
href: '/docs/general/rules',
},
{
label: 'Регистрация',
href: '/docs/general/registration',
},
{
label: 'FAQ',
href: '/docs/general/faq',
},
],
},
{
title: 'Сообщество',
items: [
{
label: 'VK',
href: 'https://vk.com/politcubes',
},
{
label: 'Сайт',
href: 'https://politcubes.ru',
},
{
label: 'Discord',
href: 'https://discord.com/invite/upFFUFMrWC',
},
{
label: 'Служба поддержки',
href: 'mailto:[email protected]',
},
],
},
{
title: 'Аккаунт',
items: [
{
label: 'Личный кабинет',
href: 'https://politcubes.ru/auth',
},
{
label: 'Забыли пароль?',
href: 'https://politcubes.ru/restore',
},
{
label: 'Регистрация',
href: 'https://politcubes.ru/actions',
},
],
},
{
title: 'Другое',
items: [
{
label: 'MCTOP',
href: 'https://mctop.su/servers/5527',
},
{
label: 'Онлайн карта',
href: 'https://politcubes.ru/map',
},
],
},
],
copyright: `© 2019-${new Date().getFullYear()} Команда PolitCubes`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
theme: {
customCss: [require.resolve('./src/css/custom.css')],
},
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/PolitCubes/wiki/edit/main/',
},
},
],
],
};
Loading

0 comments on commit 072311f

Please sign in to comment.