mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-10-15 16:19:14 +03:00
move from docusaurus to vite
This commit is contained in:
53
.vitepress/config.ts
Normal file
53
.vitepress/config.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
import { defineConfig } from 'vitepress'
|
||||
import { typedocPlugin } from 'vuepress-plugin-typedoc/next';
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
title: "NestJS Telegraf",
|
||||
description: "NestJS Telegraf documentation",
|
||||
srcDir: './docs',
|
||||
plugins: [
|
||||
typedocPlugin({
|
||||
// plugin options
|
||||
entryPoints: ['../src/index.ts'],
|
||||
tsconfig: '../tsconfig.typedoc.json',
|
||||
}),
|
||||
],
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ text: 'Docs', link: '/' }
|
||||
],
|
||||
|
||||
sidebar: [
|
||||
{
|
||||
text: 'Getting Started',
|
||||
items: [
|
||||
{ text: 'Installation', link: '/' },
|
||||
{ text: 'Getting updates', link: '/getting-updates' },
|
||||
{ text: 'Telegraf methods', link: '/telegraf-methods' },
|
||||
{ text: 'Async configuration', link: '/async-configuration' }
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Extras',
|
||||
items: [
|
||||
{ text: 'Bot injection', link: '/extras/bot-injection' },
|
||||
{ text: 'Middlewares', link: '/extras/middlewares' },
|
||||
{ text: 'Multiple Bots', link: '/extras/multiple-bots' },
|
||||
{ text: 'Standalone applications', link: '/extras/standalone-applications' }
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Migrating',
|
||||
items: [
|
||||
{ text: 'From v1 to v2', link: '/migrating/from-v1-to-v2' }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/evilsprut/nestjs-telegraf' }
|
||||
]
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user