Skip to content

Commit

Permalink
docs: configure netlify toml and versions data for dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroedin committed Nov 8, 2024
1 parent 9637998 commit b0e0937
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 b0e0937

Please sign in to comment.