Skip to content

Commit

Permalink
Cleanup redirects and resolve issues (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss authored Dec 18, 2024
1 parent caac4a6 commit 34bb3c8
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 48 deletions.
12 changes: 12 additions & 0 deletions docs/installation/cwt-cucumber.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
pagination_prev: installation/index
pagination_next: guides/index
sidebar_custom_props:
language: C++
status: unofficial
icon: cplusplus.svg
---

# cwt-cucumber

Please see the [CWT Cucumber on GitHub](https://github.com/ThoSe1990/cwt-cucumber).
120 changes: 72 additions & 48 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Paths that only made sense on the SmartBear site
# Vanity URLs for external stuff
[[redirects]]
from = "/tools"
to = "/"
from = "/conduct"
to = "https://github.com/cucumber/.github/tree/main?tab=coc-ov-file"
status = 302
[[redirects]]
from = "/school"
to = "https://school.cucumber.io"
status = 301
[[redirects]]
from = "/tools/cucumber-open"
to = "/"
from = "/school/*"
to = "https://school.cucumber.io"
status = 301

# Paths for SmartBear products
Expand All @@ -25,25 +29,31 @@
from = "/tools/cucumber-for-jira/*"
to = "https://smartbear.com/product/cucumber-for-jira/:splat/"
status = 301

# Simplified paths
[[redirects]]
from = "/tools/cucumber-open/sponsors"
to = "/sponsors"
from = "/living-documentation"
to = "https://smartbear.com/product/cucumber-for-jira/"
status = 301

# Vanity URLs for external stuff
# Other Tools variants
[[redirects]]
from = "/conduct"
to = "https://github.com/cucumber/.github/tree/main?tab=coc-ov-file"
status = 302
from = "/tools"
to = "/"
status = 301
[[redirects]]
from = "/school"
to = "https://school.cucumber.io"
from = "/tools/cucumber-open/support"
to = "/community"
status = 301
[[redirects]]
from = "/school/*"
to = "https://school.cucumber.io"
from = "/tools/cucumber-open/team"
to = "/community"
status = 301
[[redirects]]
from = "/tools/cucumber-open/*"
to = "/"
status = 301
[[redirects]]
from = "/tools/cucumber-open"
to = "/"
status = 301

# Blog posts with parens in the slug
Expand Down Expand Up @@ -90,6 +100,36 @@
to = "/blog/tags/open-source"
status = 301

# Relocated docs
[[redirects]]
from = "/docs/guides/overview"
to = "/docs"
status = 301
[[redirects]]
from = "/docs/community/contributing"
to = "/docs/contributing"
status = 301
[[redirects]]
from = "/docs/community/faq"
to = "/docs/faq"
status = 301
[[redirects]]
from = "/tools/cucumber-open/contribute"
to = "/docs/contributing"
status = 301
[[redirects]]
from = "/contribute"
to = "/docs/contributing"
status = 301
[[redirects]]
from = "/docs/community/contributing-to-documentation"
to = "https://github.com/cucumber/website/blob/main/CONTRIBUTING.md"
status = 301
[[redirects]]
from = "/docs/tools/general"
to = "/docs/tools"
status = 301

# Events aliases
[[redirects]]
from = "/resources/events"
Expand All @@ -104,6 +144,12 @@
to = "/events"
status = 301

# Sponsor aliases
[[redirects]]
from = "/tools/cucumber-open/sponsors"
to = "/sponsors"
status = 301

# Learn aliases
[[redirects]]
from = "/docs/professional"
Expand All @@ -125,47 +171,25 @@
# Community aliases
[[redirects]]
from = "/docs/community/get-in-touch"
to = "/docs/community"
status = 301
[[redirects]]
from = "/support"
to = "/community"
status = 301
[[redirects]]
from = "/contact-us"
from = "/docs/community/*"
to = "/community"
status = 301
[[redirects]]
from = "/team"
from = "/docs/community"
to = "/community"
status = 302

# Relocated docs
[[redirects]]
from = "/docs/guides/overview"
to = "/docs"
status = 301
[[redirects]]
from = "/docs/community/contributing"
to = "/docs/contributing"
status = 301
[[redirects]]
from = "/docs/community/faqs"
to = "/docs/faqs"
status = 301
[[redirects]]
from = "/tools/cucumber-open/contribute"
to = "/docs/contributing"
status = 301
[[redirects]]
from = "/contribute"
to = "/docs/contributing"
from = "/support"
to = "/community"
status = 301
[[redirects]]
from = "/docs/community/contributing-to-documentation"
to = "https://github.com/cucumber/website/blob/main/CONTRIBUTING.md"
status = 301
from = "/team"
to = "/community"
status = 302
[[redirects]]
from = "/docs/tools/general"
to = "/docs/tools"
from = "/contact-us"
to = "/community"
status = 301

0 comments on commit 34bb3c8

Please sign in to comment.