Redirect to new documentation (#1826)
* Prepare the redirection of this website * add :slug and versions * change :slug to :splat * force redirect and add root redirect * redirect to contractspull/2057/head
parent
7cafa2f78d
commit
ed69b0b470
@ -1,3 +1,15 @@ |
||||
[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 |
||||
|
Loading…
Reference in new issue