Skip to content

Commit 4b90e5b

Browse files
committed
Add /reference/libraries redirects
- Move the second-class clients to redirect to the appropriate external documentation. - Redirect python and js links _through_ the old routes that will lead to the correct consolidated documentation anchors. - Anything else, at least land the incoming request on the using section overview.
1 parent 89c0e8c commit 4b90e5b

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/redirects.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,37 @@ module.exports = [
5050
destination: "https://docs.rs/gel-tokio",
5151
permanent: false,
5252
},
53+
{
54+
source: "/reference/libraries/dotnet/:path*",
55+
destination: "https://github.com/geldata/gel-net",
56+
permanent: false,
57+
},
58+
{
59+
source: "/reference/libraries/elixir/:path*",
60+
destination: "https://hexdocs.pm/gel",
61+
permanent: false,
62+
},
63+
{
64+
source: "/reference/libraries/java/:path*",
65+
destination: "https://github.com/geldata/gel-java",
66+
permanent: false,
67+
},
68+
// Use the further redirects to get to the correct point in the consolidated docs
69+
{
70+
source: "/reference/libraries/js/:path*",
71+
destination: "/reference/clients/js/:path*",
72+
permanent: false,
73+
},
74+
{
75+
source: "/reference/libraries/python/:path*",
76+
destination: "/reference/clients/python/:path*",
77+
permanent: false,
78+
},
79+
{
80+
source: "/reference/libraries/:path*",
81+
destination: "/reference/using",
82+
permanent: false,
83+
},
5384
{
5485
source: "/reference/clients/js/delete#delete",
5586
destination: "/reference/using/js/querybuilder",

0 commit comments

Comments
 (0)