Skip to content

Commit aadaf20

Browse files
committed
deprecated and redirected docs (#7960)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR primarily focuses on removing several files related to the `infrastructure` section of the application, including markdown files, images, and TypeScript components, while also updating the `redirects.mjs` file to include new external portal redirects. ### Detailed summary - Deleted the following files: - `apps/portal/src/app/infrastructure/page.mdx` - `apps/portal/src/app/infrastructure/layout.tsx` - `apps/portal/src/app/infrastructure/sidebar.tsx` - `apps/portal/src/app/infrastructure/assets/test.jpg` - `apps/portal/src/app/infrastructure/storage/overview/page.mdx` - `apps/portal/src/app/infrastructure/rpc-edge/overview/page.mdx` - `apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx` - `apps/portal/src/app/infrastructure/storage/how-storage-works/page.mdx` - `apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/api-key.png` - `apps/portal/src/app/infrastructure/rpc-edge/overview/assets/rpc-diagram.svg` - `apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/public-rpcs.png` - `apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/usage-dashboard.png` - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/host-web-app/page.mdx` - `apps/portal/src/app/infrastructure/storage/how-storage-works/assets/storage-diagram.svg` - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/page.mdx` - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-urls.png` - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-upload.png` - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-dashboard.png` - Updated `apps/portal/redirects.mjs` to: - Redirect `"/storage/upload-to-ipfs"` to `"/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs"` - Add infrastructure redirects to external portal links for `"/infrastructure/storage/:path*"` and `"/infrastructure/rpc-edge/:path*"` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Documentation - Removed the Infrastructure section from the portal, including Overview, Storage (Overview, How Storage Works, Upload Files to IPFS, Host Web App), and RPC Edge (Overview, Get Started) pages. - Updated navigation accordingly to reflect the removal of these pages. - New Features - Added automatic redirects for Infrastructure content: - /infrastructure/storage/:path* now points to the external Storage documentation. - /infrastructure/rpc-edge/:path* now points to the external RPC documentation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent df6f8e2 commit aadaf20

File tree

19 files changed

+5
-879
lines changed

19 files changed

+5
-879
lines changed

apps/portal/redirects.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,11 @@ const infrastructureRedirects = {
865865
"/storage/how-storage-works": "/infrastructure/storage/how-storage-works",
866866
"/storage/upload-to-ipfs":
867867
"/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs",
868+
// infrastructure redirects to external portal
869+
"/infrastructure/storage/:path*":
870+
"https://portal.thirdweb.com/references/typescript/v5/functions#storage",
871+
"/infrastructure/rpc-edge/:path*":
872+
"https://portal.thirdweb.com/references/typescript/v5/functions#rpc",
868873
};
869874

870875
const glossaryRedirects = {
-867 KB
Binary file not shown.

apps/portal/src/app/infrastructure/layout.tsx

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

apps/portal/src/app/infrastructure/page.mdx

Lines changed: 0 additions & 77 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx

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

0 commit comments

Comments
 (0)