Skip to content

Commit

Permalink
Merge pull request #2875 from patternfly/docs/deploy-v3-as-netlify-re…
Browse files Browse the repository at this point in the history
…direct

docs: deploy v3 as netlify redirect
  • Loading branch information
zeroedin authored Nov 8, 2024
2 parents 9637998 + b0e0937 commit e69f755
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/_data/versions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
[
{
"version": "v4.0.0",
"slug": "v4",
"label": "v4",
"current": true
},
{
"version": "v3.0.0",
"slug": "v3",
"label": "v3",
"current": true
"current": false
},
{
"version": "v2.0.0",
Expand Down
6 changes: 6 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@
to = 'https://release-v2--patternfly-elements.netlify.app/:splat'
status = 200
force = true

[[redirects]]
from = '/v3/*'
to = 'https://release-v3--patternfly-elements.netlify.app/:splat'
status = 200
force = true

0 comments on commit e69f755

Please sign in to comment.