Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/developer-hub/content/docs/entropy/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
DiceSix,
MagnifyingGlass,
} from "@phosphor-icons/react/dist/ssr";
import { IntegrationCard } from "../../../src/components/IntegrationCard";

**Pyth Entropy** is an on-chain random number generator (RNG) designed for developers who need fair, unbiased, and cryptographically secure randomness.
Whether you're building a blockchain game, NFT mint, lottery, or simulation, Entropy delivers randomness that is:
Expand Down
8 changes: 0 additions & 8 deletions apps/developer-hub/content/docs/lazer/how-to-guides/index.mdx

This file was deleted.

10 changes: 0 additions & 10 deletions apps/developer-hub/content/docs/lazer/index.mdx

This file was deleted.

7 changes: 0 additions & 7 deletions apps/developer-hub/content/docs/lazer/meta.json

This file was deleted.

2 changes: 1 addition & 1 deletion apps/developer-hub/content/docs/meta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"pages": ["pyth-core", "lazer", "express-relay", "entropy"]
"pages": ["price-feeds", "entropy", "express-relay"]
}
20 changes: 20 additions & 0 deletions apps/developer-hub/source.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,26 @@ export const docs = defineDocs({

export default defineConfig({
mdxOptions: {
rehypeCodeOptions: {
langs: [
"solidity",
"ts",
"bash",
"js",
"json",
"md",
"mdx",
"python",
"rust",
"sh",
"yaml",
],
inline: "tailing-curly-colon",
themes: {
light: "github-light",
dark: "github-dark",
},
},
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex, rehypeCode],
},
Expand Down
7 changes: 3 additions & 4 deletions apps/developer-hub/src/components/Root/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import "./global.css";

export const TABS = [
{ segment: "", children: "Home" },
{ segment: "pyth-core", children: "Pyth Core" },
{ segment: "lazer", children: "Lazer" },
{ segment: "price-feeds", children: "Price Feeds" },
{ segment: "express-relay", children: "Express Relay" },
{ segment: "entropy", children: "Entropy" },
];
Expand All @@ -40,8 +39,8 @@ export const Root = ({ children }: Props) => (
enableAccessibilityReporting={ENABLE_ACCESSIBILITY_REPORTING}
extraCta={<SearchButton />}
mainCta={{
label: "Insights",
href: "https://insights.pyth.network/",
label: "Developer Forum",
href: "https://dev-forum.pyth.network/",
}}
providers={[NuqsAdapter]}
tabs={TABS}
Expand Down
Loading