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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user