Skip to content

Add redirects for relocated docs #10241

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

pytorchbot
Copy link
Collaborator

Summary

We've moved a number of doc pages in 0.6. This PR adds the sphinx-reredirects extension, which adds a sphinx feature to define redirected doc pages. I've used this to declare redirects for key relocated doc pages to preserve SEO and incoming external links.

Solves #8728.

Test plan

I've locally built and served the docs and navigated to each of the redirected URLs. I confirmed that all redirect as expected.

cc @mergennachin @byjlw

### Summary
We've moved a number of doc pages in 0.6. This PR adds the
sphinx-reredirects extension, which adds a sphinx feature to define
redirected doc pages. I've used this to declare redirects for key
relocated doc pages to preserve SEO and incoming external links.

Solves #8728.

### Test plan
I've locally built and served the docs and navigated to each of the
redirected URLs. I confirmed that all redirect as expected.

cc @mergennachin @byjlw

(cherry picked from commit 47fb157)
Copy link

pytorch-bot bot commented Apr 16, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10241

Note: Links to docs will display an error until the docs builds have been completed.

❌ 27 Cancelled Jobs, 3 Pending

As of commit 0645aa6 with merge base 771588a (image):

CANCELLED JOBS - The following jobs were cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 16, 2025
@metascroy metascroy added triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module ciflow/trunk labels Apr 16, 2025
@metascroy
Copy link
Contributor

Waiting for CI before merging

@metascroy metascroy merged commit 51ca836 into release/0.6 Apr 16, 2025
150 of 179 checks passed
@metascroy metascroy deleted the cherry-pick-10221-by-pytorch_bot_bot_ branch April 16, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants