forked from OpenZeppelin/docs.openzeppelin.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_redirects
96 lines (84 loc) · 4.25 KB
/
_redirects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
########################
# NOTE ABOUT REDIRECTS #
########################
# Redirects can be added either here or in netlify.toml. The rules in this file
# will have the highest priority, higher even than those added at build time by
# scripts/latest-redirects.js. If in doubt, use this file.
https://openzeppelin-docs.netlify.com/* https://docs.openzeppelin.com/:splat 301!
# Contracts docsite migration
/contracts/2.x/release-schedule /contracts/releases-stability 301
/contracts/2.x/api-stability /contracts/releases-stability 301
# SDK docsite split from SDK into CLI and Upgrades
/sdk /cli 301
/sdk/first /cli/getting-started 301
/sdk/interacting /learn/deploying-and-interacting 301
/sdk/linking /cli/dependencies 301
/sdk/zepkit /starter-kits 301
/sdk/public-deploy /learn/connecting-to-public-test-networks 301
/sdk/writing-contracts /upgrades/writing-upgradeable 301
/sdk/gsn-dapp /learn/sending-gasless-transactions 301
/sdk/network-js /network-js 301
/sdk/publish /cli/publishing-ethereum-package 301
/sdk/truffle /cli/truffle 301
/sdk/testing /learn/writing-automated-tests 301
/sdk/zos-lib /upgrades 301
/sdk/faq /cli/faq 301
/sdk/configuration /cli/configuration 301
/sdk/architecture /cli/contracts-architecture 301
/sdk/pattern /upgrades/proxies 301
/sdk/api/cli /cli/commands 301
/sdk/deploying /cli/getting-started 301
/sdk/upgrading /learn/upgrading-smart-contracts 301
/sdk/setup /cli
# Same as above with html extension
/sdk/first.html /cli/getting-started 301
/sdk/interacting.html /learn/deploying-and-interacting 301
/sdk/linking.html /cli/dependencies 301
/sdk/zepkit.html /starter-kits 301
/sdk/public-deploy.html /learn/connecting-to-public-test-networks 301
/sdk/writing-contracts.html /upgrades/writing-upgradeable 301
/sdk/gsn-dapp.html /learn/sending-gasless-transactions 301
/sdk/network-js.html /network-js 301
/sdk/publish.html /cli/publishing-ethereum-package 301
/sdk/truffle.html /cli/truffle 301
/sdk/testing.html /learn/writing-automated-tests 301
/sdk/zos-lib.html /upgrades 301
/sdk/faq.html /cli/faq 301
/sdk/configuration.html /cli/configuration 301
/sdk/architecture.html /cli/contracts-architecture 301
/sdk/pattern.html /upgrades/proxies 301
/sdk/api/cli.html /cli/commands 301
/sdk/deploying.html /cli/getting-started 301
/sdk/upgrading.html /learn/upgrading-smart-contracts 301
/sdk/setup.html /cli
# Removed SDK guides
/sdk/upgrades-governance https://forum.openzeppelin.com/t/governance-for-smart-contract-upgrades/2080 301
/sdk/upgrades-governance.html https://forum.openzeppelin.com/t/governance-for-smart-contract-upgrades/2080 301
/sdk/erc20-onboarding https://forum.openzeppelin.com/t/onboarding-erc20-tokens-to-openzeppelin-upgrades/2081 301
/sdk/erc20-onboarding.html https://forum.openzeppelin.com/t/onboarding-erc20-tokens-to-openzeppelin-upgrades/2081 301
# Moved Upgrades content to Upgrades Plugins
/upgrades/:version/writing-upgradeable /upgrades-plugins/writing-upgradeable 301!
/upgrades/:version/writing-upgradeable.html /upgrades-plugins/writing-upgradeable 301!
/upgrades/:version/proxies /upgrades-plugins/proxies 301!
/upgrades/:version/proxies.html /upgrades-plugins/proxies 301!
# Removed top level GSN section
/openzeppelin/gsn/getting-started /learn/sending-gasless-transactions 301
/openzeppelin/gsn/getting-started.html /learn/sending-gasless-transactions 301
# Removed Contracts GSN sections
/contracts/gsn /contracts/3.x/gsn 301
/contracts/gsn-strategies /contracts/3.x/gsn-strategies 301
# OpenZeppelin Contracts 3.0 deprecation redirects
/contracts/api/crowdsale /contracts/crowdsales 301
/contracts/api/drafts /contracts/drafts 301
/contracts/api/lifecycle /contracts/api/utils 301
/contracts/api/ownership /contracts/api/access 301
/contracts/api/deploy-ready /contracts/api/presets 301
# OpenZeppelin Contracts 3.0-rc redirect
/contracts/3.x-rc/api/deploy-ready /contracts/3.x/api/presets 301
/contracts/3.x-rc/* /contracts/3.x/:splat 301
/contracts/4.x-rc/* /contracts/4.x/:splat 302
# buidler -> hardhat
/upgrades-plugins/buidler-upgrades /upgrades-plugins/hardhat-upgrades 301
/upgrades-plugins/api-buidler-upgrades /upgrades-plugins/api-hardhat-upgrades 301
/upgrades-plugins/1.x/buidler-upgrades /upgrades-plugins/1.x/hardhat-upgrades 301
/upgrades-plugins/1.x/api-buidler-upgrades /upgrades-plugins/1.x/api-hardhat-upgrades 301