mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 01:27:29 +08:00
docs: vuepress构建文档
This commit is contained in:
parent
57a302a71e
commit
19d79d356d
1
.github/workflows/deploy-docs.yml
vendored
1
.github/workflows/deploy-docs.yml
vendored
@ -31,7 +31,6 @@ jobs:
|
|||||||
pnpm install
|
pnpm install
|
||||||
pnpm run docs:build
|
pnpm run docs:build
|
||||||
> .vuepress/dist/.nojekyll
|
> .vuepress/dist/.nojekyll
|
||||||
|
|
||||||
|
|
||||||
- name: 部署文档
|
- name: 部署文档
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import {defineUserConfig} from "vuepress";
|
import {defineUserConfig} from "vuepress";
|
||||||
import theme from "./theme.js";
|
import theme from "./theme.js";
|
||||||
|
import viteBundler from "@vuepress/bundler-vite";
|
||||||
|
|
||||||
export default defineUserConfig({
|
export default defineUserConfig({
|
||||||
base: "/",
|
base: "/",
|
||||||
@ -15,7 +16,6 @@ export default defineUserConfig({
|
|||||||
],
|
],
|
||||||
|
|
||||||
theme,
|
theme,
|
||||||
|
|
||||||
// 和 PWA 一起启用
|
// 和 PWA 一起启用
|
||||||
// shouldPrefetch: false,
|
// shouldPrefetch: false,
|
||||||
});
|
});
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
"target": "ES2022"
|
"target": "ES2022"
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"docs/.vuepress/**/*.ts",
|
".vuepress/**/*.ts",
|
||||||
"docs/.vuepress/**/*.vue"
|
".vuepress/**/*.vue"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules"
|
"node_modules"
|
||||||
|
Loading…
Reference in New Issue
Block a user