Skip to content

Commit

Permalink
[docs] Update links to v6 (#12496)
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii authored Mar 19, 2024
1 parent 22c774e commit c9f1006
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function AppWrapper(props) {
text: `v${process.env.LIB_VERSION}`,
current: true,
},
{ text: 'v6', href: `https://mui.com${languagePrefix}/x/introduction/` },
{ text: 'v6', href: `https://v6.mui.com${languagePrefix}/x/introduction/` },
{ text: 'v5', href: `https://v5.mui.com${languagePrefix}/x/introduction/` },
{ text: 'v4', href: `https://v4.mui.com${languagePrefix}/components/data-grid/` },
],
Expand All @@ -230,7 +230,7 @@ function AppWrapper(props) {
text: `v${process.env.DATA_GRID_VERSION}`,
current: true,
},
{ text: 'v6', href: `https://mui.com${languagePrefix}/x/react-data-grid/` },
{ text: 'v6', href: `https://v6.mui.com${languagePrefix}/x/react-data-grid/` },
{ text: 'v5', href: `https://v5.mui.com${languagePrefix}/x/react-data-grid/` },
{ text: 'v4', href: `https://v4.mui.com${languagePrefix}/components/data-grid/` },
],
Expand All @@ -246,7 +246,7 @@ function AppWrapper(props) {
},
{
text: 'v6',
href: `https://mui.com${languagePrefix}/x/react-date-pickers/`,
href: `https://v6.mui.com${languagePrefix}/x/react-date-pickers/`,
},
{
text: 'v5',
Expand All @@ -263,7 +263,7 @@ function AppWrapper(props) {
text: `v${process.env.CHARTS_VERSION}`,
current: true,
},
{ text: 'v6', href: `https://mui.com${languagePrefix}/x/react-charts/` },
{ text: 'v6', href: `https://v6.mui.com${languagePrefix}/x/react-charts/` },
],
};
} else if (productId === 'x-tree-view') {
Expand All @@ -277,7 +277,7 @@ function AppWrapper(props) {
},
{
text: 'v6',
href: `https://mui.com${languagePrefix}/x/react-tree-view/getting-started`,
href: `https://v6.mui.com${languagePrefix}/x/react-tree-view/getting-started`,
},
],
};
Expand Down

0 comments on commit c9f1006

Please sign in to comment.