nestjs-telegraf/website/docusaurus.config.js

111 lines
2.9 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-10-12 00:14:40 +03:00
organizationName: 'evilsprut', // 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-10-12 00:14:40 +03:00
href: 'https://github.com/evilsprut/nestjs-telegraf',
2020-09-09 23:17:31 +03:00
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
// links: [
// {
// title: 'Docs',
// items: [
// {
// label: 'Style Guide',
// to: 'docs/',
// },
// {
// label: 'Second Doc',
// to: 'docs/doc2/',
// },
// ],
// },
// {
// title: 'Community',
// items: [
// {
// label: 'Stack Overflow',
// href: 'https://stackoverflow.com/questions/tagged/docusaurus',
// },
// {
// label: 'Discord',
// href: 'https://discordapp.com/invite/docusaurus',
// },
// {
// label: 'Twitter',
// href: 'https://twitter.com/docusaurus',
// },
// ],
// },
// {
// title: 'More',
// items: [
// {
// label: 'Blog',
// to: 'blog',
// },
// {
// label: 'GitHub',
// href: 'https://github.com/facebook/docusaurus',
// },
// ],
// },
// ],
copyright: `Copyright © ${new Date().getFullYear()} NestJS Telegraf.`,
2020-09-09 23:17:31 +03:00
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
2020-10-12 00:14:40 +03:00
'https://github.com/evilsprut/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-10-12 00:14:40 +03:00
// 'https://github.com/evilsprut/nestjs-telegraf/edit/master/website/blog/',
// },
2020-09-09 23:17:31 +03:00
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};