浏览代码

fix(dev-hub) Fix Pro links

Aditya Arora 1 周之前
父节点
当前提交
79f0b31a60

+ 2 - 2
apps/developer-hub/content/docs/price-feeds/core/contract-addresses/pythnet.mdx

@@ -11,8 +11,8 @@ import { Callout } from "fumadocs-ui/components/callout";
   which is used to construct and deliver Pyth prices to other blockchains. If
   you are building an application on EVM, Solana, SVM, or another chain, you
   should use the Pyth program deployed on your target chain instead. Please
-  refer to the [Contract Addresses](/price-feeds/core/contract-addresses) page and
-  select your specific blockchain environment.
+  refer to the [Contract Addresses](/price-feeds/core/contract-addresses) page
+  and select your specific blockchain environment.
 </Callout>
 
 The following tables contain the addresses of the programs deployed on Pythnet environments that operate together to construct Pyth prices and deliver them to other blockchains:

+ 22 - 7
apps/developer-hub/content/docs/price-feeds/index.mdx

@@ -32,9 +32,17 @@ Pyth offers two main versions of price feeds, each optimized for different use c
       { label: "Dedicated support" },
     ]}
     quickLinks={[
-      { label: "Overview", href: "/price-feeds/pro" },
-      { label: "Get access token", href: "/price-feeds/pro/access-token" },
-      { label: "Pricing", href: "/price-feeds/pro/pricing" },
+      { label: "Getting Started", href: "/price-feeds/pro/getting-started" },
+      {
+        label: "Get access token",
+        href: "/price-feeds/pro/acquire-access-token",
+        target: "_blank",
+      },
+      {
+        label: "Pricing",
+        href: "https://www.pyth.network/pricing",
+        target: "_blank",
+      },
     ]}
     buttonLabel="Explore Pro Documentation"
     buttonHref="/price-feeds/pro"
@@ -49,7 +57,7 @@ Pyth offers two main versions of price feeds, each optimized for different use c
       { label: "Decentralized Oracle" },
     ]}
     quickLinks={[
-      { label: "Overview", href: "/price-feeds/core" },
+      { label: "Getting Started", href: "/price-feeds/core/getting-started" },
       { label: "Get started", href: "/price-feeds/core/getting-started" },
       {
         label: "Contract addresses",
@@ -71,7 +79,10 @@ Pyth offers two main versions of price feeds, each optimized for different use c
     <Link className={styles.resourceLink} href="/price-feeds/core/price-feeds">
       Pyth Core IDs ->
     </Link>
-    <Link className={styles.resourceLink} href="/price-feeds/pro/price-feeds">
+    <Link
+      className={styles.resourceLink}
+      href="/price-feeds/pro/price-feed-ids"
+    >
       Pyth Pro IDs ->
     </Link>
   </Card>
@@ -85,8 +96,12 @@ Pyth offers two main versions of price feeds, each optimized for different use c
     >
       Core APIs ->
     </Link>
-    <Link className={styles.resourceLink} href="/price-feeds/pro/api-reference">
-      Pro APIs ->
+    <Link
+      className={styles.resourceLink}
+      href="https://pyth-lazer.dourolabs.app/docs"
+      target="_blank"
+    >
+      Pro Websocket API ->
     </Link>
   </Card>
   <Card icon={<SquaresFour size={18} />} title="Examples">

+ 1 - 1
apps/developer-hub/content/docs/price-feeds/pro/acquire-access-token.mdx

@@ -37,4 +37,4 @@ const client = await PythLazerClient.create(
 
 ## Next Steps
 
-After acquiring your access token, you can proceed to [subscribe to price feeds](./subscribe-price-updates.mdx) using the Pyth Pro websocket API.
+After acquiring your access token, you can proceed to [subscribe to price feeds](./subscribe-to-prices) using the Pyth Pro websocket API.

+ 1 - 1
apps/developer-hub/content/docs/price-feeds/pro/getting-started.mdx

@@ -153,7 +153,7 @@ Now that you've successfully run the basic Pyth Pro example, you can explore mor
 
 Explore additional Pyth Pro capabilities:
 
-- **[Subscribe to Price Updates](./subscribe-price-updates)** - Detailed guide on WebSocket subscriptions and message handling
+- **[Subscribe to Price Updates](./subscribe-to-prices)** - Detailed guide on WebSocket subscriptions and message handling
 - **[Price Feed IDs](./price-feed-ids)** - Complete list of available price feeds and their identifiers
 
 ### Blockchain Integration

+ 6 - 0
apps/developer-hub/content/docs/price-feeds/pro/index.mdx

@@ -23,15 +23,21 @@ The service is delivered through standard APIs for seamless integration.
     icon={<Key size={12.5} />}
     title="Get your access token"
     description="Request authenticated access credentials for Pyth Pro."
+    href="/price-feeds/pro/acquire-access-token"
+    target="_blank"
   />
   <Card
     icon={<Lightning size={12.5} />}
     title="Subscribe to prices"
     description="Configure real-time Pyth Pro price delivery."
+    href="/price-feeds/pro/subscribe-to-prices"
+    target="_blank"
   />
   <Card
     icon={<CurrencyDollarSimple size={12.5} />}
     title="Pricing"
     description="Review subscription tiers and usage-based pricing details."
+    href="https://www.pyth.network/pricing"
+    target="_blank"
   />
 </Cards>

+ 1 - 1
apps/developer-hub/content/docs/price-feeds/pro/integrate-as-consumer/evm.mdx

@@ -136,7 +136,7 @@ for (uint8 i = 0; i < feedsLen; i++) {
 
 Pyth Pro provides a websocket endpoint to receive price updates. Moreover, Pyth Pro also provides a [Typescript SDK](https://github.com/pyth-network/pyth-crosschain/tree/main/lazer/sdk/js) to subscribe to the websocket endpoint.
 
-Consult [How to subscribe to price updates](/price-feeds/pro/subscribe-price-updates) for a complete step-by-step guide.
+Consult [How to subscribe to prices](/price-feeds/pro/subscribe-to-prices) for a complete step-by-step guide.
 
   </Step>
   <Step>

+ 1 - 1
apps/developer-hub/content/docs/price-feeds/pro/integrate-as-consumer/index.mdx

@@ -12,4 +12,4 @@ Pyth Pro price updates can be verified on Solana, Fogo, and EVM chains. Please c
 - [EVM](/price-feeds/pro/integrate-as-consumer/evm)
 
 Pyth Pro price updates can also be used in off-chain applications. See the
-[subscription guide](/price-feeds/pro/subscribe-price-updates) and the [Terms of Service](https://www.dourolabs.xyz/Subscription-Terms.pdf) for more information.
+[subscribe to prices guide](/price-feeds/pro/subscribe-to-prices) and the [Terms of Service](https://www.dourolabs.xyz/Subscription-Terms.pdf) for more information.

+ 1 - 1
apps/developer-hub/content/docs/price-feeds/pro/integrate-as-consumer/svm.mdx

@@ -219,7 +219,7 @@ state.latest_timestamp = data.timestamp_us.0;
 
 Pyth Pro/Lazer provides a websocket endpoint to receive price updates. Moreover, Pyth Pro/Lazer also provides a [typescript SDK](https://github.com/pyth-network/pyth-crosschain/tree/main/lazer/sdk/js) to subscribe to the websocket endpoint.
 
-Consult [How to subscribe to price updates from Pyth Lazer](/price-feeds/pro/subscribe-price-updates) for a complete step-by-step guide.
+Consult [How to subscribe to prices](/price-feeds/pro/subscribe-to-prices) for a complete step-by-step guide.
 
   </Step>
   <Step>