Skip to content

Commit 7172f0c

Browse files
Fix Solana guide redirect and update internal links
- Add redirects for /price-feeds/core/use-real-time-data/* paths to pull-integration subdirectory - Add redirects for /price-feeds/use-real-time-data base paths - Update internal links in MDX files to use correct pull-integration paths - Fixes 404 error when accessing /price-feeds/core/use-real-time-data/solana Co-Authored-By: [email protected] <[email protected]>
1 parent 5d75a61 commit 7172f0c

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

next.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ const permanentRedirectArray = [
142142
"/price-feeds/use-real-time-data/:path((?!pull-integration(?:/|$)).*)",
143143
"/price-feeds/use-real-time-data/pull-integration/:path",
144144
],
145+
["/price-feeds/use-real-time-data", "/price-feeds/use-real-time-data/pull-integration"],
146+
[
147+
"/price-feeds/core/use-real-time-data/:path((?!pull-integration(?:/|$)).*)",
148+
"/price-feeds/core/use-real-time-data/pull-integration/:path",
149+
],
150+
["/price-feeds/core/use-real-time-data", "/price-feeds/core/use-real-time-data/pull-integration"],
145151

146152
["/benchmarks", "/price-feeds/use-historic-price-data"],
147153
[

pages/price-feeds/core/derive-cross-rate.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ You may find these additional resources helpful.
9191

9292
#### How to use real-time data in EVM contracts
9393

94-
The [How to use real-time data in EVM contracts](./use-real-time-data/evm) guide provides a step-by-step guide on how to use real-time data in EVM contracts.
94+
The [How to use real-time data in EVM contracts](./use-real-time-data/pull-integration/evm) guide provides a step-by-step guide on how to use real-time data in EVM contracts.
9595

9696
#### Price Feed IDs
9797

pages/price-feeds/core/price-feeds.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Price feeds also have different IDs in the Stable and Beta channels.
2929

3030
On Solana, each feed additionally has a collection of **price feed accounts** containing the feed's data.
3131
The addresses of these accounts are programmatically derived from the feed id and a shard id, which is simply a 16-bit number.
32-
See [How to Use Real-Time Data on Solana](./use-real-time-data/solana#price-feed-accounts) for more information on price feed accounts.
32+
See [How to Use Real-Time Data on Solana](./use-real-time-data/pull-integration/solana#price-feed-accounts) for more information on price feed accounts.
3333

3434
## Feed Ids
3535

pages/price-feeds/core/use-real-time-data/push-integration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ contract SomeContract {
5858
### SVM
5959

6060
Developers building on SVM chains can use Price Feed Accounts to integrate Pyth using push integration.
61-
The [SVM guide](../use-real-time-data/solana#price-feed-accounts) explains in detail how to integrate Pyth using Price Feed Accounts.
61+
The [SVM guide](./pull-integration/solana#price-feed-accounts) explains in detail how to integrate Pyth using Price Feed Accounts.
6262

6363
### Aptos
6464

0 commit comments

Comments
 (0)