Skip to content

Commit

Permalink
[docs] Update links to v7 (#12495)
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii authored Mar 19, 2024
1 parent 0958d54 commit 511bb3e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function AppWrapper(props) {
metadata: '',
name: 'MUI X',
versions: [
{ text: 'v7 (next)', href: `https://next.mui.com${languagePrefix}/x/introduction/` },
{ text: 'v7', href: `https://mui.com${languagePrefix}/x/introduction/` },
{ text: `v${process.env.LIB_VERSION}`, current: true },
{ text: 'v5', href: `https://v5.mui.com${languagePrefix}/x/introduction/` },
{ text: 'v4', href: `https://v4.mui.com${languagePrefix}/components/data-grid/` },
Expand All @@ -221,8 +221,8 @@ function AppWrapper(props) {
name: 'Data Grid',
versions: [
{
text: 'v7 (next)',
href: `https://next.mui.com${languagePrefix}/x/react-data-grid/`,
text: 'v7',
href: `https://mui.com${languagePrefix}/x/react-data-grid/`,
},
{ text: `v${process.env.DATA_GRID_VERSION}`, current: true },
{ text: 'v5', href: `https://v5.mui.com${languagePrefix}/x/react-data-grid/` },
Expand All @@ -235,8 +235,8 @@ function AppWrapper(props) {
name: 'Date Pickers',
versions: [
{
text: 'v7 (next)',
href: `https://next.mui.com${languagePrefix}/x/react-date-pickers/`,
text: 'v7',
href: `https://mui.com${languagePrefix}/x/react-date-pickers/`,
},
{ text: `v${process.env.DATE_PICKERS_VERSION}`, current: true },
{
Expand All @@ -251,8 +251,8 @@ function AppWrapper(props) {
name: 'Charts',
versions: [
{
text: 'v7 (next)',
href: `https://next.mui.com${languagePrefix}/x/react-charts/`,
text: 'v7',
href: `https://mui.com${languagePrefix}/x/react-charts/`,
},
{ text: `v${process.env.CHARTS_VERSION}`, current: true },
],
Expand All @@ -263,8 +263,8 @@ function AppWrapper(props) {
name: 'Tree View',
versions: [
{
text: 'v7 (next)',
href: `https://next.mui.com${languagePrefix}/x/react-tree-view/getting-started`,
text: 'v7',
href: `https://mui.com${languagePrefix}/x/react-tree-view/getting-started`,
},
{ text: `v${process.env.TREE_VIEW_VERSION}`, current: true },
],
Expand Down

0 comments on commit 511bb3e

Please sign in to comment.