-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b034d78
commit 072311f
Showing
5 changed files
with
11,039 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/', | ||
}, | ||
}, | ||
], | ||
], | ||
}; |
Oops, something went wrong.