mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 23:25:07 +08:00
docs: vuepress构建文档
This commit is contained in:
parent
7633ab444c
commit
58ebf6efea
2
.github/workflows/deploy-docs.yml
vendored
2
.github/workflows/deploy-docs.yml
vendored
@ -49,4 +49,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# 这是文档部署到的分支名称
|
# 这是文档部署到的分支名称
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: docs/.vuepress/dist
|
folder: .vuepress/dist
|
||||||
|
19
docs/package.json
Normal file
19
docs/package.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "liteyuki",
|
||||||
|
"version": "2.0.0",
|
||||||
|
"description": "A project of vuepress-theme-hope",
|
||||||
|
"license": "MIT",
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"docs:build": "../node_modules/.bin/vuepress-vite build docs",
|
||||||
|
"docs:clean-dev": "../node_modules/.bin/vuepress-vite dev docs --clean-cache",
|
||||||
|
"docs:dev": "../node_modules/.bin/vuepress-vite dev docs",
|
||||||
|
"docs:update-package": "pnpm dlx vp-update"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@vuepress/bundler-vite": "2.0.0-rc.9",
|
||||||
|
"vue": "^3.4.21",
|
||||||
|
"vuepress": "2.0.0-rc.9",
|
||||||
|
"vuepress-theme-hope": "2.0.0-rc.32"
|
||||||
|
}
|
||||||
|
}
|
2861
docs/pnpm-lock.yaml
Normal file
2861
docs/pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
14
docs/tsconfig.json
Normal file
14
docs/tsconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "NodeNext",
|
||||||
|
"moduleResolution": "NodeNext",
|
||||||
|
"target": "ES2022"
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"docs/.vuepress/**/*.ts",
|
||||||
|
"docs/.vuepress/**/*.vue"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"../node_modules"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user