mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-03-31 13:53:42 +03:00
api docs in separate folder
This commit is contained in:
parent
f00c247a44
commit
1615ec6bd6
1
.gitignore
vendored
1
.gitignore
vendored
@ -20,4 +20,5 @@ dist
|
||||
|
||||
# docs
|
||||
.vitepress/cache
|
||||
docs-api
|
||||
|
||||
|
@ -1,18 +1,10 @@
|
||||
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: [
|
||||
|
@ -72,10 +72,8 @@
|
||||
"reflect-metadata": "0.1.13",
|
||||
"telegraf": "4.12.2",
|
||||
"typedoc": "0.24.8",
|
||||
"typedoc-plugin-markdown": "^3.15.3",
|
||||
"typescript": "4.8.2",
|
||||
"vitepress": "^1.0.0-beta.6",
|
||||
"vuepress-plugin-typedoc": "^0.12.1"
|
||||
"vitepress": "^1.0.0-beta.6"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@nestjs/common": "^9.0.0 || ^10.0.0",
|
||||
|
@ -5,6 +5,6 @@
|
||||
},
|
||||
"typedocOptions": {
|
||||
"entryPoints": ["./index.ts", "./lib"],
|
||||
"out": "docs"
|
||||
"out": "docs-api"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user