Skip to content

Add sphinx-redirect extension #3406

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 7 commits into from
Jun 25, 2025
Merged

Add sphinx-redirect extension #3406

merged 7 commits into from
Jun 25, 2025

Conversation

svekars
Copy link
Contributor

@svekars svekars commented Jun 23, 2025

  • Added sphinx_redirects to the project dependencies
  • Created redirects.py with URL mapping for redirected pages
  • Updated conf.py to import redirect.py and use the sphinx_redirects extension
  • Added redirects for recently deleted tutorials: intermediate/flask_rest_api_tutorial, beginner/ptcheat.html, beginner/deploy_seq2seq_hybrid_frontend_tutorial.html to redirect to ../index.html.

Copy link

pytorch-bot bot commented Jun 23, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3406

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

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

@svekars svekars marked this pull request as ready for review June 24, 2025 22:14
Copy link
Contributor

@malfet malfet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@malfet malfet merged commit e2a51c8 into main Jun 25, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants