-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
_redirects
119 lines (107 loc) · 9.8 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# Redirects from what the browser requests to what we serve
# Renamed pages
/docs/android-setup /docs/getting-started
/docs/building-for-apple-tv /docs/building-for-tv
/docs/building-from-source /contributing/how-to-build-from-source
/docs/contributing /contributing/overview
/docs/sourcemaps /docs/debugging-release-builds
/docs/symbolication /docs/debugging-release-builds
/docs/publishing-forks /contributing/how-to-build-from-source#publish-your-own-version-of-react-native
/docs/react-devtools /docs/react-native-devtools
/docs/testing /contributing/how-to-run-and-write-tests
/docs/understanding-cli https://github.com/react-native-community/cli#react-native-cli
/contributing/how-to-contribute /contributing/overview
/releases/release-candidate-minor /releases/release-branch-cut-and-rc0
# Redirect New Architecture docs of all versions
# Note: We had to delete the older versions to get redirects to work
/docs/the-new-architecture/why /architecture/landing-page
/docs/the-new-architecture/use-app-template https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/pillars https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/pillars-turbomodules https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/pillars-fabric-components https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/pillars-codegen https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/cxx-cxxturbomodules https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/the-new-architecture/cxx-custom-types https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/backward-compatibility https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/backward-compatibility-turbomodules https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/backward-compatibility-fabric-components https://github.com/reactwg/react-native-new-architecture#guides
/docs/the-new-architecture/landing-page /architecture/landing-page
/docs/new-architecture-intro https://github.com/reactwg/react-native-new-architecture#guides
/docs/new-architecture-library-intro https://github.com/reactwg/react-native-new-architecture#guides
/docs/new-architecture-library-android https://github.com/reactwg/react-native-new-architecture#guides
/docs/new-architecture-library-ios https://github.com/reactwg/react-native-new-architecture#guides
/docs/new-architecture-app-intro https://github.com/reactwg/react-native-new-architecture#guides
/docs/react-18-and-react-native https://reactnative.dev/docs/0.69/react-18-and-react-native
/docs/new-architecture-troubleshooting https://github.com/reactwg/react-native-new-architecture#guides
/docs/new-architecture-appendix https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/landing-page /architecture/landing-page
/docs/:version/the-new-architecture/why /architecture/landing-page
/docs/:version/the-new-architecture/use-app-template https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/pillars https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/pillars-turbomodules https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/pillars-fabric-components https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/pillars-codegen https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/cxx-cxxturbomodules https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/cxx-custom-types https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/backward-compatibility https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/backward-compatibility-turbomodules https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/the-new-architecture/backward-compatibility-fabric-components https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/new-architecture-intro https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/new-architecture-library-intro https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/new-architecture-library-android https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/new-architecture-library-ios https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/new-architecture-app-intro https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/new-architecture-troubleshooting https://github.com/reactwg/react-native-new-architecture#guides
/docs/:version/new-architecture-appendix https://github.com/reactwg/react-native-new-architecture#guides
# New Architecture is enabled by default, these have shifted to a legacy folder
/docs/next/direct-manipulation /docs/next/legacy/direct-manipulation
/docs/next/local-library-setup /docs/next/legacy/local-library-setup
/docs/next/native-modules-* /docs/next/legacy/native-modules-:splat
/docs/next/native-components-* /docs/next/legacy/native-components-:splat
# Changed blog post dates
/blog/2021/03/11/version-0.64 /blog/2021/03/12/version-0.64
# Removed pages
/docs/new-architecture-app-modules-android https://github.com/reactwg/react-native-new-architecture#guides
/docs/new-architecture-app-renderer-android https://github.com/reactwg/react-native-new-architecture#guides
/docs/new-architecture-app-modules-ios https://github.com/reactwg/react-native-new-architecture#guides
/docs/new-architecture-app-renderer-ios https://github.com/reactwg/react-native-new-architecture#guides
https://reactnative.dev/docs/0.74/ram-bundles-inline-requires /docs/optimizing-javascript-loading
/docs/next/ram-bundles-inline-requires /docs/next/optimizing-javascript-loading
# Architecture pages move to unversioned docs
/docs/architecture-overview /architecture/overview
/docs/fabric-renderer /architecture/fabric-renderer
/docs/render-pipeline /architecture/render-pipeline
/docs/xplat-implementation /architecture/xplat-implementation
/docs/view-flattening /architecture/view-flattening
/docs/threading-model /architecture/threading-model
/docs/architecture-glossary /architecture/glossary
/docs/next/architecture-overview /architecture/overview
/docs/next/fabric-renderer /architecture/fabric-renderer
/docs/next/render-pipeline /architecture/render-pipeline
/docs/next/xplat-implementation /architecture/xplat-implementation
/docs/next/view-flattening /architecture/view-flattening
/docs/next/threading-model /architecture/threading-model
/docs/next/architecture-glossary /architecture/glossary
/docs/0.66/architecture-overview /architecture/overview
/docs/0.66/fabric-renderer /architecture/fabric-renderer
/docs/0.66/render-pipeline /architecture/render-pipeline
/docs/0.66/xplat-implementation /architecture/xplat-implementation
/docs/0.66/view-flattening /architecture/view-flattening
/docs/0.66/threading-model /architecture/threading-model
/docs/0.66/architecture-glossary /architecture/glossary
# Point to new release documentation
/contributing/release-branch-cut-and-rc0 https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-candidate-patch https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-dependencies https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-faq https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-roles-responsibilites https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-stable-minor https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-stable-patch https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-testing https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-troubleshooting https://github.com/reactwg/react-native-releases#release-documentation
/contributing/release-updating-packages https://github.com/reactwg/react-native-releases#release-documentation
/contributing/updating-upgrade-helper https://github.com/reactwg/react-native-releases#release-documentation
# Rework of the community
/help /community/overview
# Latest version might be linked to directly and should redirect
/docs/$LATEST_VERSION$/* /docs/:splat