nestjs-telegraf/website/docusaurus.config.js
2022-08-25 11:27:56 +03:00

90 lines
2.3 KiB
JavaScript

module.exports = {
title: 'NestJS Telegraf',
tagline: 'Powerful Nest module for easy and fast creation Telegram bots',
url: 'https://nestjs-telegraf.hypeer.company',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'hypeertech',
projectName: 'nestjs-telegraf',
themeConfig: {
navbar: {
title: 'NestJS Telegraf',
items: [
{
href: 'https://github.com/hypeertech/nestjs-telegraf',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Getting Started',
to: '/',
},
],
},
{
title: 'Community',
items: [
{
label: 'Discussions',
href: 'https://github.com/hypeertech/nestjs-telegraf/discussions',
},
{
label: 'Telegram',
href: 'https://t.me/nestjs_telegraf',
},
],
},
{
title: 'More',
items: [
{
label: 'Issues',
href: 'https://github.com/hypeertech/nestjs-telegraf/issues',
},
{
label: 'Examples',
to: 'https://github.com/hypeertech/nestjs-telegraf/tree/master/sample/',
}
],
},
],
copyright: `Copyright © 2019 - ${new Date().getFullYear()}, <a target="_blank" href="https://hypeer.company">Hypeer</a>, <a target="_blank" href="mailto:arthur.asimov.z0@gmail.com">Arthur Asimov</a> and <a target="_blank" href="https://github.com/bukhalo/nestjs-telegraf/graphs/contributors">Others</a>.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
editUrl:
'https://github.com/hypeertech/nestjs-telegraf/edit/master/website/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
[
require.resolve('docusaurus-gtm-plugin'),
{
id: 'GTM-PRP5KRP',
}
]
],
};