Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix migration documentation id, add redirect for backward-compatibility #1402

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

Monteth
Copy link
Member

@Monteth Monteth commented Mar 17, 2025

The current "Migrating v3 to v4" doc has an improper ID of migrating-4-to-4, so I fixed that and added a redirect functionality to support links saved somewhere on the web before the change.

BTW we can't test the redirect before the release because it works only in production build 🤷🏻

This plugin is always inactive in development and only active in production because it works on the build output.

https://docusaurus.io/docs/3.5.2/api/plugins/@docusaurus/plugin-client-redirects

@github-actions github-actions bot added the Area: Docs Affects the documentation or reproductions seed label Mar 17, 2025
Copy link

codecov bot commented Mar 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.45%. Comparing base (b137ca0) to head (40ff07a).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1402   +/-   ##
=======================================
  Coverage   95.45%   95.45%           
=======================================
  Files         175      175           
  Lines        2860     2860           
  Branches      759      759           
=======================================
  Hits         2730     2730           
  Misses         61       61           
  Partials       69       69           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Monteth Monteth merged commit 8851215 into master Mar 21, 2025
6 checks passed
@Monteth Monteth deleted the fix-migration-doc-slug branch March 21, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Docs Affects the documentation or reproductions seed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants