Skip to content

Commit

Permalink
docs: vuepress构建文档
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Mar 28, 2024
1 parent 57a302a commit 19d79d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
pnpm install
pnpm run docs:build
> .vuepress/dist/.nojekyll
- name: 部署文档
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {defineUserConfig} from "vuepress";
import theme from "./theme.js";
import viteBundler from "@vuepress/bundler-vite";

export default defineUserConfig({
base: "/",
Expand All @@ -15,7 +16,6 @@ export default defineUserConfig({
],

theme,

// 和 PWA 一起启用
// shouldPrefetch: false,
});
4 changes: 2 additions & 2 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"target": "ES2022"
},
"include": [
"docs/.vuepress/**/*.ts",
"docs/.vuepress/**/*.vue"
".vuepress/**/*.ts",
".vuepress/**/*.vue"
],
"exclude": [
"node_modules"
Expand Down

0 comments on commit 19d79d3

Please sign in to comment.