* Prepare the redirection of this website * add :slug and versions * change :slug to :splat * force redirect and add root redirect * redirect to contracts
16 lines
304 B
TOML
16 lines
304 B
TOML
[build]
|
|
command = "npm run docsite build"
|
|
publish = "docsite-build"
|
|
|
|
[[redirects]]
|
|
from = "/"
|
|
to = "https://docs.openzeppelin.com/contracts"
|
|
status = 301
|
|
force = true
|
|
|
|
[[redirects]]
|
|
from = "/v2.3.0/*"
|
|
to = "https://docs.openzeppelin.com/contracts/v2.x/:splat"
|
|
status = 301
|
|
force = true
|