Skip to content

Commit fa7118b

Browse files
committed
Complete MDX v2 Migration: All templates, components, and GraphQL queries successfully migrated
1 parent 0550aec commit fa7118b

49 files changed

Lines changed: 8978 additions & 7502 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.node-options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node --max-old-space-size=8192

gatsby-config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,6 @@ module.exports = {
474474
resolve: "gatsby-plugin-mdx",
475475
options: {
476476
extensions: [".mdx", ".md"],
477-
mdxOptions: {
478-
remarkPlugins: [],
479-
rehypePlugins: [],
480-
},
481477
gatsbyRemarkPlugins: [],
482478
},
483479
},

package-lock.json

Lines changed: 8813 additions & 7284 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"url": "https://layer5.io"
1111
},
1212
"scripts": {
13-
"build": "gatsby build",
13+
"build": "node --max-old-space-size=8192 node_modules/.bin/gatsby build",
1414
"clean": "gatsby clean && rimraf node_modules",
15-
"develop": "env-cmd -f .env.development gatsby develop",
15+
"develop": "node --max-old-space-size=8192 node_modules/.bin/env-cmd -f .env.development gatsby develop",
1616
"dev": "npm run develop",
1717
"start": "npm run develop",
1818
"serve": "gatsby serve",
@@ -36,8 +36,8 @@
3636
"@fullcalendar/react": "^6.1.8",
3737
"@layer5/meshery-design-embed": "^0.4.0",
3838
"@loadable/component": "^5.16.4",
39-
"@mdx-js/mdx": "1.6.22",
40-
"@mdx-js/react": "1.6.22",
39+
"@mdx-js/mdx": "2.3.0",
40+
"@mdx-js/react": "2.3.0",
4141
"@mediacurrent/gatsby-plugin-silence-css-order-warning": "^1.0.0",
4242
"@mui/icons-material": "^6.4.6",
4343
"@mui/material": "^5.15.11",
@@ -64,7 +64,7 @@
6464
"gatsby-plugin-image": "^3.11.0",
6565
"gatsby-plugin-loadable-components-ssr": "^4.3.2",
6666
"gatsby-plugin-manifest": "^5.11.0",
67-
"gatsby-plugin-mdx": "3.20.0",
67+
"gatsby-plugin-mdx": "^5.0.0",
6868
"gatsby-plugin-meta-redirect": "github:layer5labs/gatsby-plugin-meta-redirect",
6969
"gatsby-plugin-netlify": "^5.1.1",
7070
"gatsby-plugin-preload-fonts": "^4.11.0",

root-wrapper.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Code from "./src/components/CodeBlock";
44
import CTA_ImageOnly from "./src/components/Call-To-Actions/CTA_ImageOnly";
55
import CTA_FullWidth from "./src/components/Call-To-Actions/CTA_FullWidth";
66
import CTA_Bottom from "./src/components/Call-To-Actions/CTA_Bottom";
7+
import Button from "./src/reusecore/Button";
78
import { ContextWrapper } from "./context-wrapper";
89

910
// Custom image component for better CLS scores
@@ -41,6 +42,7 @@ const components = {
4142
}
4243
},
4344
img: OptimizedImage,
45+
Button,
4446
CTA_ImageOnly,
4547
CTA_FullWidth,
4648
CTA_Bottom

src/collections/events/2022/kubecon-na-2022/index.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ upcoming: false
1111
register: false
1212
---
1313

14-
import { Link } from "gatsby";
15-
import Button from "../../../../reusecore/Button";
16-
import { EventWrapper } from "../../Event.style.js";
17-
1814
<EventWrapper>
1915

2016
Join <Link to="/blog/events/layer5-at-kubecon-cloudnativecon-north-america">Layer5 is at KubeCon NA 2022</Link> as we host project office hours. Don't be shy with your questions! Project maintainers are happy to receive your questions and will be available to share about current project activities, discuss current features as well as planned future project roadmap.

src/collections/events/2024/kubecon-EU-2024/index.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ eurl: https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/
88
type: Event
99
published: true
1010
upcoming: false
11-
feature: true
12-
speakers: ["Lee Calcote", "Nic Jackson", "Zack Butcher", "Zhonghu Xu"]
11+
feature: false
12+
speakers: ["Aabid Sofi", "Antonette Caldwell", "Lee Calcote", "Uzair Shaikh", "Yash Sharma"]
1313

1414
---
15-
import Button from "../../../../reusecore/Button";
1615

17-
Join Layer5 at KubeCon + CloudNativeCon EU Paris, France 2024!
16+
Join Layer5 at KubeCon + CloudNativeCon EU 2024!
1817

1918

2019
<p>

src/collections/events/2024/kubecon-hk/index.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@ eurl: https://events.linuxfoundation.org/kubecon-cloudnativecon-open-source-summ
88
type: Event
99
published: true
1010
upcoming: false
11-
feature: true
12-
speakers: ["Yash Sharma"]
11+
feature: false
12+
speakers: ["Lee Calcote", "Xin Huang"]
1313

1414
---
15-
import Button from "../../../../reusecore/Button";
1615

17-
<p>
18-
Join the Meshery project at KubeCon + CloudNativeCon Hong Kong, China from August 21 to August 23, 2024. Engage with the Meshery open-source maintainers and discover collaborative cloud-native management.
19-
</p>
16+
Join Layer5 at KubeCon + CloudNativeCon Hong Kong 2024!
2017

2118
We’re excited to bring you a session that delves into the intricacies of managing your cloud-native infrastructure efficiently with Meshery. Whether you're an experienced practitioner or new to the cloud-native ecosystem, there’s something for everyone.
2219

src/collections/events/2024/kubecon-na/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ feature: true
1212
speakers: ["Lee Calcote", "Nic Jackson", "Shivay Lamba", "Zack Butcher", "Zhonghu Xu"]
1313

1414
---
15-
import Button from "../../../../reusecore/Button";
1615

1716
Join Layer5 at KubeCon + CloudNativeCon NA, Salt Lake City, Utah!
1817

src/collections/events/2024/making-the-cncf-landscape-interactive-with-meshery/index.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
2-
title: "Making the CNCF Landscape Interactive with Meshery"
2+
titlupcoming: true
3+
feature: false
4+
register: false
5+
speakers: ["Lee Calcote", "Saiyam Pathak"]
6+
---
7+
8+
9+
Join the Kubesimplify livestream on May 1st, 2024 at 11:00 AM CT / 09:30 PM IST and meet Lee Calcote (<a href="https://twitter.com/lcalcote">@lcalcote</a>) and Saiyam Pathak (<a href="https://twitter.com/SaiyamPathak">@SaiyamPathak</a>) for an engaging livestream where they will dive into the dynamic world of the Cloud Native Computing Foundation (CNCF) Landscape and explore how Meshery, the collaborative cloud native manager, is revolutionizing it. In this session, they'll demonstrate how Meshery not only simplifies the management of all Kubernetes-based infrastructure, but also makes the CNCF Landscape interactive, allowing for a more intuitive and hands-on experience. the CNCF Landscape Interactive with Meshery"
310
description: "Join the Kubesimplify livestream for an engaging livestream where we dive into the dynamic world of the Cloud Native Computing Foundation (CNCF) Landscape and explore how Meshery, the collaborative cloud native manager, is revolutionizing it. In this session, we’ll demonstrate how Meshery not only simplifies the management of all Kubernetes-based infrastructure, but also makes the CNCF Landscape interactive, allowing for a more intuitive and hands-on experience."
411
date: 2024-05-01
512
thumbnail: ./thumbnail.png

0 commit comments

Comments
 (0)