Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

redirects.js 2.9 KB

You have to be logged in to leave a comment. Sign In
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
  1. if (/-/.test(location.pathname)) {
  2. location.href = location.origin + location.pathname.replaceAll('-','_') + location.search + location.hash;
  3. }
  4. if (/\/reference\//.test(location.pathname)) {
  5. location.href = location.origin + location.pathname.replace('/reference/', '/feature_guide/') + location.search + location.hash;
  6. }
  7. if (/\/feature_guide\/open_data_science_formats/.test(location.pathname)) {
  8. location.href = location.origin + location.pathname.replace('/open_data_science_formats/', '/git_tracking/') + location.search + location.hash;
  9. }
  10. if (/\/feature_guide\/jenkins/.test(location.pathname)) {
  11. location.href = location.origin + location.pathname.replace('/feature_guide/', '/integration_guide/') + location.search + location.hash;
  12. }
  13. if (/\/feature_guide\/label_studio/.test(location.pathname)) {
  14. location.href = location.origin + location.pathname.replace('/feature_guide/', '/integration_guide/') + location.search + location.hash;
  15. }
  16. if (/\/feature_guide\/mlflow_tracking/.test(location.pathname)) {
  17. location.href = location.origin + location.pathname.replace('/feature_guide/', '/integration_guide/') + location.search + location.hash;
  18. }
  19. if (/\/feature_guide\/new_relic_monitoring/.test(location.pathname)) {
  20. location.href = location.origin + location.pathname.replace('/feature_guide/', '/integration_guide/') + location.search + location.hash;
  21. }
  22. if (/\/feature_guide\/set_up_remote_storage_for_data_and_models/.test(location.pathname)) {
  23. location.href = location.origin + location.pathname.replace('/feature_guide/', '/integration_guide/') + location.search + location.hash;
  24. }
  25. if (/\/feature_guide\/webhook/.test(location.pathname)) {
  26. location.href = location.origin + location.pathname.replace('/feature_guide/', '/integration_guide/') + location.search + location.hash;
  27. }
  28. if (/\/tutorial\/$/.test(location.pathname)) {
  29. location.href = location.origin + location.pathname.replace(/\/?$/, '/overview/') + location.search + location.hash
  30. }
  31. if (/\/experiment_tutorial\/$/.test(location.pathname)) {
  32. location.href = location.origin + location.pathname.replace(/\/?$/, '/overview/') + location.search + location.hash;
  33. }
  34. if (/\/collaborating_on_dagshub/.test(location.pathname)) {
  35. location.href = location.origin + location.pathname.replace('/collaborating_on_dagshub/', '/feature_guide/') + location.search + location.hash;
  36. }
  37. if (/\/tutorial\/interactive_session/.test(location.pathname)) {
  38. location.href = location.origin + location.pathname.replace('/tutorial/', '/workshops/') + location.search + location.hash;
  39. }
  40. if (/\/integration_guide\/integration_guide/.test(location.pathname)) {
  41. location.href = location.origin + location.pathname.replace('/integration_guide/integration_guide/', '/integration_guide/') + location.search + location.hash;
  42. }
  43. if (/\/feature_guide\/onboard_storage/.test(location.pathname)) {
  44. location.href = location.origin + location.pathname.replace('/onboard_storage/', '/dagshub_storage/') + location.search + location.hash;
  45. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...