nestjs-telegraf/website/docusaurus.config.js

102 lines
2.7 KiB
JavaScript
Raw Normal View History

2020-09-09 23:17:31 +03:00
module.exports = {
title: 'NestJS Telegraf',
tagline: 'Powerful Nest module for easy and fast creation Telegram bots',
2020-09-10 00:26:12 +03:00
url: 'https://nestjs-telegraf.vercel.app',
2020-09-09 23:17:31 +03:00
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
2020-12-30 20:37:11 +03:00
organizationName: 'bukhalo', // Usually your GitHub org/user name.
projectName: 'nestjs-telegraf', // Usually your repo name.
2020-09-09 23:17:31 +03:00
themeConfig: {
navbar: {
title: 'NestJS Telegraf',
// logo: {
// alt: 'My Site Logo',
// src: 'img/logo.svg',
// },
2020-09-09 23:17:31 +03:00
items: [
{
type: 'docsVersionDropdown',
position: 'left',
},
2020-09-09 23:17:31 +03:00
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
// {to: 'blog', label: 'Blog', position: 'left'},
2020-09-09 23:17:31 +03:00
{
2020-12-30 20:37:11 +03:00
href: 'https://github.com/bukhalo/nestjs-telegraf',
2020-09-09 23:17:31 +03:00
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
2021-02-14 23:59:26 +03:00
links: [
{
title: 'Docs',
items: [
{
label: 'Getting Started',
to: 'docs/',
},
],
},
{
title: 'Community',
items: [
{
label: 'Discussions',
href: 'https://github.com/bukhalo/nestjs-telegraf/discussions',
},
{
label: 'Telegram',
href: 'https://t.me/nestjs_telegraf',
},
],
},
{
title: 'More',
items: [
{
label: 'Issues',
href: 'https://github.com/bukhalo/nestjs-telegraf/issues',
},
{
label: 'Examples',
to: 'https://github.com/bukhalo/nestjs-telegraf/tree/master/sample/',
}
],
},
],
copyright: `Copyright © 2019 - ${new Date().getFullYear()}, <a target="_blank" href="https://bukhalo.com">Alexander Bukhalo</a> & <a target="_blank" href="mailto:arthur.asimov.z0@gmail.com">Arthur Asimov</a>.`,
2020-09-09 23:17:31 +03:00
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
2020-12-30 20:37:11 +03:00
'https://github.com/bukhalo/nestjs-telegraf/edit/master/website/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
2020-09-09 23:17:31 +03:00
},
// blog: {
// showReadingTime: true,
// // Please change this to your repo.
// editUrl:
2020-12-30 20:37:11 +03:00
// 'https://github.com/bukhalo/nestjs-telegraf/edit/master/website/blog/',
// },
2020-09-09 23:17:31 +03:00
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};