Skip to content

Fix Redirects and Move PyTorch Versions to Getting Started #83

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 3 commits into from
Sep 21, 2018
Merged

Fix Redirects and Move PyTorch Versions to Getting Started #83

merged 3 commits into from
Sep 21, 2018

Conversation

JoelMarcey
Copy link
Contributor

While working on moving PyTorch versions to a tab in Getting Started, and setting up a redirect from the old page, I noticed that the docs redirect (with redirect_url was clashing with the default redirects using redirect_from - if you look at the prod site, you will notice that the latter redirects do not work any longer). So, I changed the layout name of the redirect for docs to docs_redirect.html and then the others use the default redirect mechanism provided by the redirect plugin

While working on moving PyTorch versions to a tab in Getting Started, and setting up a redirect from the old page, I noticed that the docs redirect (with `redirect_url` was clashing with the default redirects using `redirect_from` - if you look at the prod site, you will notice that the latter redirects do not work any longer). So, I changed the layout name of the redirect for docs to `docs_redirect.html` and then the others use the default redirect mechanism provided by the redirect plugin
@facebook-netlify-bot
Copy link

facebook-netlify-bot commented Sep 21, 2018

Deploy preview for infallible-bhabha-cf3724 ready!

Built with commit 70b240e

https://deploy-preview-83--infallible-bhabha-cf3724.netlify.com

@JoelMarcey JoelMarcey merged commit b1993c5 into pytorch:site Sep 21, 2018
ssnl pushed a commit to ssnl/pytorch.github.io that referenced this pull request Oct 2, 2018
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