Skip to content

Commit

Permalink
[docs] Add next version links (#15423)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy authored Nov 15, 2024
1 parent 94208b5 commit c821ee9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ function AppWrapper(props) {
metadata: '',
name: 'MUI X',
versions: [
{
text: `next`,
href: `https://next.mui.com${languagePrefix}/x/introduction/`,
},
{
text: `v${process.env.LIB_VERSION}`,
current: true,
Expand All @@ -226,6 +230,10 @@ function AppWrapper(props) {
metadata: 'MUI X',
name: 'Data Grid',
versions: [
{
text: `next`,
href: `https://next.mui.com${languagePrefix}/x/react-data-grid/`,
},
{
text: `v${process.env.DATA_GRID_VERSION}`,
current: true,
Expand All @@ -240,6 +248,10 @@ function AppWrapper(props) {
metadata: 'MUI X',
name: 'Date Pickers',
versions: [
{
text: `next`,
href: `https://next.mui.com${languagePrefix}/x/react-date-pickers/`,
},
{
text: `v${process.env.DATE_PICKERS_VERSION}`,
current: true,
Expand All @@ -259,6 +271,10 @@ function AppWrapper(props) {
metadata: 'MUI X',
name: 'Charts',
versions: [
{
text: `next`,
href: `https://next.mui.com${languagePrefix}/x/react-charts/`,
},
{
text: `v${process.env.CHARTS_VERSION}`,
current: true,
Expand All @@ -271,6 +287,10 @@ function AppWrapper(props) {
metadata: 'MUI X',
name: 'Tree View',
versions: [
{
text: `next`,
href: `https://next.mui.com${languagePrefix}/x/react-tree-view/`,
},
{
text: `v${process.env.TREE_VIEW_VERSION}`,
current: true,
Expand Down

0 comments on commit c821ee9

Please sign in to comment.