docs: vuepress构建文档

This commit is contained in:
远野千束 2024-03-28 10:03:12 +08:00
parent 7633ab444c
commit 58ebf6efea
4 changed files with 2895 additions and 1 deletions

View File

@ -49,4 +49,4 @@ jobs:
with:
# 这是文档部署到的分支名称
branch: gh-pages
folder: docs/.vuepress/dist
folder: .vuepress/dist

19
docs/package.json Normal file
View 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

File diff suppressed because it is too large Load Diff

14
docs/tsconfig.json Normal file
View File

@ -0,0 +1,14 @@
{
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2022"
},
"include": [
"docs/.vuepress/**/*.ts",
"docs/.vuepress/**/*.vue"
],
"exclude": [
"../node_modules"
]
}