Skip to content

docs: Add redirect from /docs/intro to Introduction page#2127

Merged
agrawaliti merged 1 commit intomicrosoft:mainfrom
agrawaliti:redirect-oldlink
Mar 23, 2026
Merged

docs: Add redirect from /docs/intro to Introduction page#2127
agrawaliti merged 1 commit intomicrosoft:mainfrom
agrawaliti:redirect-oldlink

Conversation

@agrawaliti
Copy link
Contributor

@agrawaliti agrawaliti commented Mar 23, 2026

Install @docusaurus/plugin-client-redirects and configure redirects from /docs/intro and /intro to /docs/Introduction/intro.

Description

Please provide a brief
This pull request introduces support for client-side redirects in the Docusaurus documentation site and makes several related dependency updates. The main focus is on improving the user experience by ensuring old or alternative documentation URLs correctly redirect to the new structure. Additionally, the pull request updates package dependencies and lockfiles to include the new plugin and mark several dependencies as peer dependencies.

Documentation site enhancements:

  • Added the @docusaurus/plugin-client-redirects plugin to the project dependencies and configuration, enabling client-side redirects in the documentation site. [1] [2] [3]
  • Configured redirects so that requests to /docs/intro or /intro are automatically redirected to /docs/Introduction/intro.

Dependency and lockfile updates:

Documentation metadata:

  • Added frontmatter to docs/01-Introduction/01-intro.md to set the slug for the introduction page, aligning it with the new redirect target. description of the changes made in this pull request.

Related Issue

If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request.

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed

Please add any relevant screenshots or GIFs to showcase the changes made.

Additional Notes

Add any additional notes or context about the pull request here.


Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

Install @docusaurus/plugin-client-redirects and configure redirects
from /docs/intro and /intro to /docs/Introduction/intro.
@agrawaliti agrawaliti requested a review from a team as a code owner March 23, 2026 11:58
@agrawaliti agrawaliti requested review from jimassa and vipul-21 March 23, 2026 11:58
@agrawaliti agrawaliti changed the title Add redirect from /docs/intro to Introduction page docs: Add redirect from /docs/intro to Introduction page Mar 23, 2026
@agrawaliti agrawaliti enabled auto-merge March 23, 2026 12:02
@agrawaliti agrawaliti disabled auto-merge March 23, 2026 12:03
@agrawaliti agrawaliti enabled auto-merge March 23, 2026 12:05
@agrawaliti agrawaliti added this pull request to the merge queue Mar 23, 2026
Merged via the queue into microsoft:main with commit 2960dc6 Mar 23, 2026
36 of 44 checks passed
@agrawaliti agrawaliti deleted the redirect-oldlink branch March 23, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants