aptos-labs / developer-docs

Source for the Aptos developer docs
https://aptos.dev
Apache License 2.0
875 stars 93 forks source link

Add redirects for most migrated pages #354

Closed jmintuitive closed 5 months ago

jmintuitive commented 5 months ago

Description

Adds redirects for all pages which have the same filename before / after the migration.

Checklist

Verified that all migrated links worked: (Mismatches listed are expected as the "title" for those pages changed, but the redirect worked properly). verification.txt

Happy to share the scripts I used if they're helpful, but this seems one-time use so I didn't want to clutter the library.

Future Work

In a future PR, I will go in and update the remaining links (~ (Some have to be migrated still, some were no longer needed (Ex. in-korean.mdx, and some were rewritten so I need to redirect them by hand to the new organization). There's about 40 links remaining (This PR fixes 150 links)

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developer-docs-nextra ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 2:15am
netlify[bot] commented 5 months ago

Deploy Preview for aptos-developer-docs ready!

Name Link
Latest commit 220075f83738a4885782702138db30db409f1bdd
Latest deploy log https://app.netlify.com/sites/aptos-developer-docs/deploys/664c02e894a26200087e0e5a
Deploy Preview https://deploy-preview-354--aptos-developer-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.