2022-10-05 00:57:12 +02:00
|
|
|
// @ts-check
|
|
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
|
|
|
|
|
|
|
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
|
|
|
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
|
|
|
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
|
|
const config = {
|
2022-12-06 10:05:37 +01:00
|
|
|
title: 'Gwei.cz',
|
2022-10-05 17:08:22 +02:00
|
|
|
tagline: 'Společně tvoříme nový svobodný finanční systém a internet nové generace (Web3)',
|
2022-12-06 10:05:37 +01:00
|
|
|
url: 'https://gwei.cz',
|
2022-10-05 00:57:12 +02:00
|
|
|
baseUrl: '/',
|
|
|
|
onBrokenLinks: 'throw',
|
|
|
|
onBrokenMarkdownLinks: 'warn',
|
2022-10-05 17:08:22 +02:00
|
|
|
favicon: 'img/favicon.png',
|
2022-10-05 00:57:12 +02:00
|
|
|
|
|
|
|
// GitHub pages deployment config.
|
|
|
|
// If you aren't using GitHub pages, you don't need these.
|
|
|
|
organizationName: 'gweicz', // Usually your GitHub org/user name.
|
|
|
|
projectName: 'docs', // Usually your repo name.
|
|
|
|
|
|
|
|
// Even if you don't use internalization, you can use this field to set useful
|
|
|
|
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
|
|
// to replace "en" with "zh-Hans".
|
|
|
|
i18n: {
|
|
|
|
defaultLocale: 'cs',
|
2022-10-06 04:39:06 +02:00
|
|
|
locales: ['cs'],
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
|
|
|
|
2022-10-14 12:05:39 +02:00
|
|
|
scripts: [{src: 'https://x.gwei.cz/js/script.js', async: true, defer: true, 'data-domain': 'gwei.cz'}],
|
2022-10-08 11:34:35 +02:00
|
|
|
|
2022-10-06 04:30:30 +02:00
|
|
|
themes: [
|
|
|
|
[
|
|
|
|
require.resolve("@easyops-cn/docusaurus-search-local"),
|
|
|
|
{
|
|
|
|
// ... Your options.
|
|
|
|
// `hashed` is recommended as long-term-cache of index file is possible.
|
|
|
|
hashed: true,
|
|
|
|
// For Docs using Chinese, The `language` is recommended to set to:
|
|
|
|
// ```
|
|
|
|
// language: ["en", "zh"],
|
|
|
|
// ```
|
|
|
|
language: [ "en" ],
|
|
|
|
docsRouteBasePath: ['/komunita', '/projekty']
|
|
|
|
},
|
|
|
|
]
|
|
|
|
],
|
|
|
|
|
2022-10-05 17:08:22 +02:00
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
'content-docs',
|
|
|
|
({
|
|
|
|
id: 'projekty',
|
|
|
|
path: 'projekty',
|
|
|
|
routeBasePath: 'projekty',
|
|
|
|
sidebarPath: require.resolve('./sidebarsProjekty.js'),
|
|
|
|
editUrl:
|
2022-10-13 16:02:26 +02:00
|
|
|
'https://git.gwei.cz/gweicz/docs/_edit/master/',
|
2022-10-06 22:51:34 +02:00
|
|
|
//showLastUpdateAuthor: true,
|
|
|
|
//showLastUpdateTime: true,
|
2022-10-05 17:08:22 +02:00
|
|
|
})
|
|
|
|
],
|
2022-12-06 09:26:20 +01:00
|
|
|
[
|
|
|
|
'content-docs',
|
|
|
|
({
|
|
|
|
id: 'udalosti',
|
|
|
|
path: 'udalosti',
|
|
|
|
routeBasePath: 'udalosti',
|
|
|
|
sidebarPath: require.resolve('./sidebarsUdalosti.js'),
|
|
|
|
editUrl:
|
|
|
|
'https://git.gwei.cz/gweicz/docs/_edit/master/',
|
|
|
|
//showLastUpdateAuthor: true,
|
|
|
|
//showLastUpdateTime: true,
|
|
|
|
})
|
|
|
|
],
|
2022-10-05 17:08:22 +02:00
|
|
|
],
|
|
|
|
|
2022-10-05 00:57:12 +02:00
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'classic',
|
|
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
|
|
({
|
|
|
|
docs: {
|
2022-10-05 17:08:22 +02:00
|
|
|
path: 'komunita',
|
|
|
|
routeBasePath: 'komunita',
|
2022-10-05 00:57:12 +02:00
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
|
|
// Please change this to your repo.
|
|
|
|
// Remove this to remove the "edit this page" links.
|
|
|
|
editUrl:
|
2022-10-14 14:13:56 +02:00
|
|
|
'https://git.gwei.cz/gweicz/docs/_edit/master/',
|
2022-10-06 22:51:34 +02:00
|
|
|
//showLastUpdateAuthor: true,
|
|
|
|
//showLastUpdateTime: true,
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
themeConfig:
|
|
|
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
|
|
({
|
|
|
|
navbar: {
|
|
|
|
title: 'Gwei.cz',
|
|
|
|
logo: {
|
|
|
|
alt: 'Gwei.cz Logo',
|
|
|
|
src: 'img/logo.png',
|
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
docId: 'README',
|
|
|
|
position: 'left',
|
2022-10-05 17:08:22 +02:00
|
|
|
label: 'Komunita',
|
|
|
|
},
|
|
|
|
{
|
2022-12-06 09:26:20 +01:00
|
|
|
to: 'udalosti',
|
2022-10-05 17:08:22 +02:00
|
|
|
position: 'left',
|
2022-12-06 09:26:20 +01:00
|
|
|
label: 'Události',
|
2022-10-05 17:08:22 +02:00
|
|
|
},
|
|
|
|
{
|
2022-12-06 09:26:20 +01:00
|
|
|
to: 'projekty',
|
2022-10-13 16:02:26 +02:00
|
|
|
position: 'left',
|
2022-12-06 09:26:20 +01:00
|
|
|
label: 'Projekty a služby',
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
2022-10-13 16:02:26 +02:00
|
|
|
{
|
|
|
|
href: 'https://status.gwei.cz',
|
|
|
|
label: 'Status',
|
|
|
|
position: 'right',
|
|
|
|
},
|
2022-10-05 00:57:12 +02:00
|
|
|
{
|
|
|
|
href: 'https://forum.gwei.cz',
|
|
|
|
label: 'Fórum',
|
|
|
|
position: 'right',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://matrix.to/#/#gweicz:gwei.cz',
|
2022-10-05 17:08:22 +02:00
|
|
|
label: 'Matrix',
|
2022-10-05 00:57:12 +02:00
|
|
|
position: 'right',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
style: 'dark',
|
|
|
|
links: [
|
|
|
|
{
|
2022-10-05 17:08:22 +02:00
|
|
|
title: 'Komunita',
|
2022-10-05 00:57:12 +02:00
|
|
|
items: [
|
2022-10-05 17:08:22 +02:00
|
|
|
{
|
|
|
|
label: 'Kdo jsme?',
|
|
|
|
to: '/komunita',
|
|
|
|
},
|
2022-10-05 00:57:12 +02:00
|
|
|
{
|
|
|
|
label: 'Klíčové pojmy',
|
2022-10-05 17:08:22 +02:00
|
|
|
to: '/komunita/klicove-pojmy',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Podpořte nás',
|
|
|
|
to: '/komunita/podporte-nas',
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
2022-12-06 09:26:20 +01:00
|
|
|
{
|
|
|
|
to: 'komunita/in-english',
|
|
|
|
position: 'left',
|
|
|
|
label: 'In English 🇬🇧'
|
|
|
|
},
|
2022-10-05 00:57:12 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-05 17:08:22 +02:00
|
|
|
title: 'Komunikační kanály',
|
2022-10-05 00:57:12 +02:00
|
|
|
items: [
|
|
|
|
{
|
2022-10-05 17:08:22 +02:00
|
|
|
label: 'Fórum',
|
|
|
|
href: 'https://matrix.gwei.cz',
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
|
|
|
{
|
2022-10-05 17:08:22 +02:00
|
|
|
label: 'Matrix (chat)',
|
|
|
|
href: 'https://matrix.gwei.cz',
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
2022-10-14 11:33:48 +02:00
|
|
|
{
|
|
|
|
label: 'Mastodon',
|
|
|
|
href: 'https://social.gwei.cz',
|
|
|
|
},
|
2022-10-05 00:57:12 +02:00
|
|
|
{
|
|
|
|
label: 'Twitter',
|
2022-10-05 17:08:22 +02:00
|
|
|
href: 'https://twitter.com/gweicz',
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-14 11:33:48 +02:00
|
|
|
title: 'Projekty a služby',
|
2022-10-05 00:57:12 +02:00
|
|
|
items: [
|
2022-10-14 11:33:48 +02:00
|
|
|
{
|
|
|
|
label: 'Status',
|
|
|
|
href: 'https://status.gwei.cz',
|
|
|
|
},
|
2022-10-05 00:57:12 +02:00
|
|
|
{
|
2022-10-05 17:08:22 +02:00
|
|
|
label: 'BohemianDAO',
|
|
|
|
href: 'https://bohemiandao.cz',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'ETHBrno hackathon',
|
|
|
|
href: 'https://ethbrno.cz',
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
|
|
|
{
|
2022-10-05 17:08:22 +02:00
|
|
|
label: 'DeFi Toolkit',
|
|
|
|
href: 'https://hackmd.io/@gweicz/defi-toolkit',
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2022-10-05 17:08:22 +02:00
|
|
|
copyright: `Vytvořeno v Praze 🖤💛 s pomocí <a href="https://docusaurus.io/">Docusaurus</a>.`,
|
2022-10-05 00:57:12 +02:00
|
|
|
},
|
|
|
|
prism: {
|
|
|
|
theme: lightCodeTheme,
|
|
|
|
darkTheme: darkCodeTheme,
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = config;
|