Skip to content

Commit e7376fb

Browse files
committed
- upd netlify.toml for vitepress
1 parent bf84fa9 commit e7376fb

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ jspm_packages/
88
coverage/
99
gemfiles/*.lock
1010
lefthook-local.yml
11+
12+
# Local Netlify folder
13+
.netlify

netlify.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
[build]
22
base="docs"
3-
publish="/"
4-
command=""
5-
6-
[[redirects]]
7-
from = "/*"
8-
to = "/index.html"
9-
status = 200
3+
publish = "docs/.vitepress/dist"
4+
command="npm run build"

0 commit comments

Comments
 (0)