docs: integrate TypeDocs into vuepress output

# What's changed?

* create sidebar from typedoc output
* use plugin markdown to generate typedoc as markdown
This commit is contained in:
bcakmakoglu
2022-06-12 23:22:41 +02:00
committed by Braks
parent 669f9a075c
commit be5df65cc2
5 changed files with 84 additions and 6 deletions

View File

@@ -4,8 +4,9 @@
"private": true,
"scripts": {
"dev": "vuepress dev src",
"build": "vuepress build src",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore ."
"build": "vuepress build src && pnpm run typedoc",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
"typedoc": "typedoc --options ./typedoc.json"
},
"dependencies": {
"@animxyz/core": "^0.6.6",
@@ -26,6 +27,8 @@
"@windicss/plugin-scrollbar": "^1.2.3",
"dotenv": "^16.0.1",
"ohmyfetch": "^0.4.18",
"typedoc": "^0.22.17",
"typedoc-plugin-markdown": "^3.12.1",
"unplugin-auto-import": "^0.6.9",
"unplugin-icons": "^0.14.3",
"unplugin-vue-components": "^0.18.5",