ant-design/netlify.toml

58 lines
998 B
TOML
Raw Normal View History

2018-04-19 16:23:13 +08:00
[build]
publish = "_site"
command = "npm run site"
[context.production]
2018-04-19 16:40:37 +08:00
command = "echo build"
2018-04-19 16:23:13 +08:00
publish = "."
2018-04-19 16:56:40 +08:00
[[redirects]]
from = "/docs/resource/download"
to = "/docs/spec/download"
status = 301
force = false
2018-04-19 17:08:49 +08:00
[[redirects]]
from = "/docs/resource/download-cn"
to = "/docs/spec/download-cn"
status = 301
force = false
[[redirects]]
from = "/docs/resource/reference"
to = "/docs/spec/reference"
status = 301
force = false
[[redirects]]
from = "/docs/resource/reference-cn"
to = "/docs/spec/reference-cn"
status = 301
force = false
[[redirects]]
from = "/docs/spec/feature"
to = "/docs/spec/values"
status = 301
force = false
[[redirects]]
from = "/docs/spec/feature-cn"
to = "/docs/spec/values-cn"
status = 301
force = false
[[redirects]]
from = "/docs/pattern/*-cn"
to = "/docs/spec/overview-cn"
status = 301
force = false
[[redirects]]
from = "/docs/pattern/*"
to = "/docs/spec/overview"
status = 301
force = false