Skip to content

Commit 838529d

Browse files
committed
update .gitignore
1 parent dd2cdad commit 838529d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+17860
-2
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package-lock.json
33
lib/core/metadata.js
44
lib/core/MetadataBlog.js
55
website/translated_docs
6-
website/build/
6+
# website/build/
77
website/yarn.lock
88
website/node_modules
99
website/.yarn-cache
@@ -73,3 +73,5 @@ typings/
7373
.env
7474

7575
.yarn-cache
76+
77+
.DS_store

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script>window.location.href = "/docs/zh-CN/intro.html";</script>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
],
3131
"repository": "ssh://[email protected]:Kirk-Wang/react-admin.com.git",
3232
"scripts": {
33-
"build": "lerna run build",
33+
"build": "lerna run build && cp index.html website/build/react-admin/index.html",
3434
"deploy": "cd website && publish-gh-pages",
3535
"postinstall": "cd website && yarn",
3636
"precommit": "lint-staged",

0 commit comments

Comments
 (0)