Skip to content

Commit 860f547

Browse files
committed
chore(dev-hub) Remove Lazer and Fix inline code
1 parent 4da35ce commit 860f547

File tree

7 files changed

+25
-30
lines changed

7 files changed

+25
-30
lines changed

apps/developer-hub/content/docs/entropy/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
DiceSix,
1212
MagnifyingGlass,
1313
} from "@phosphor-icons/react/dist/ssr";
14+
import { IntegrationCard } from "../../../src/components/IntegrationCard";
1415

1516
**Pyth Entropy** is an on-chain random number generator (RNG) designed for developers who need fair, unbiased, and cryptographically secure randomness.
1617
Whether you're building a blockchain game, NFT mint, lottery, or simulation, Entropy delivers randomness that is:

apps/developer-hub/content/docs/lazer/how-to-guides/index.mdx

Lines changed: 0 additions & 8 deletions
This file was deleted.

apps/developer-hub/content/docs/lazer/index.mdx

Lines changed: 0 additions & 10 deletions
This file was deleted.

apps/developer-hub/content/docs/lazer/meta.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"pages": ["pyth-core", "lazer", "express-relay", "entropy"]
2+
"pages": ["price-feeds", "entropy", "express-relay"]
33
}

apps/developer-hub/source.config.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,26 @@ export const docs = defineDocs({
2727

2828
export default defineConfig({
2929
mdxOptions: {
30+
rehypeCodeOptions: {
31+
langs: [
32+
"solidity",
33+
"ts",
34+
"bash",
35+
"js",
36+
"json",
37+
"md",
38+
"mdx",
39+
"python",
40+
"rust",
41+
"sh",
42+
"yaml",
43+
],
44+
inline: "tailing-curly-colon",
45+
themes: {
46+
light: "github-light",
47+
dark: "github-dark",
48+
},
49+
},
3050
remarkPlugins: [remarkMath],
3151
rehypePlugins: [rehypeKatex, rehypeCode],
3252
},

apps/developer-hub/src/components/Root/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import "./global.css";
1414

1515
export const TABS = [
1616
{ segment: "", children: "Home" },
17-
{ segment: "pyth-core", children: "Pyth Core" },
18-
{ segment: "lazer", children: "Lazer" },
17+
{ segment: "price-feeds", children: "Price Feeds" },
1918
{ segment: "express-relay", children: "Express Relay" },
2019
{ segment: "entropy", children: "Entropy" },
2120
];
@@ -40,8 +39,8 @@ export const Root = ({ children }: Props) => (
4039
enableAccessibilityReporting={ENABLE_ACCESSIBILITY_REPORTING}
4140
extraCta={<SearchButton />}
4241
mainCta={{
43-
label: "Insights",
44-
href: "https://insights.pyth.network/",
42+
label: "Developer Forum",
43+
href: "https://dev-forum.pyth.network/",
4544
}}
4645
providers={[NuqsAdapter]}
4746
tabs={TABS}

0 commit comments

Comments
 (0)