Skip to content

Commit b1993c5

Browse files
authored
Fix Redirects and Move PyTorch Versions to Getting Started (#83)
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.
1 parent 046b81a commit b1993c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+64
-51
lines changed

‎_get_started/get-started-via-cloud-partners.md

+1-1

‎_get_started/get-started-via-colab.md

+1-1

‎previous-versions.md renamed to ‎_get_started/previous-versions.md

+16-3

‎_includes/quick_start_local.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p>Select your preferences and run the install command. Please ensure that you are on the latest pip and numpy
22
packages. Anaconda is our recommended package manager. You can also
3-
<a href="{{ site.baseurl }}/previous-versions">install previous versions of PyTorch.</a>
3+
<a href="{{ site.baseurl }}/get-started/previous-versions">install previous versions of PyTorch.</a>
44
</p>
55

66
<div class="row">

‎_includes/quick_start_module.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h3>Quick Start
88

99
{% include quick_start_local.html %}
1010

11-
<br/><a href="{{ site.baseurl }}/previous-versions">Previous versions of PyTorch</a>
11+
<br/><a href="{{ site.baseurl }}/get-started/previous-versions">Previous versions of PyTorch</a>
1212
</div>
1313

1414
<div class="col-md-4 offset-md-2 cloud-options-col">
File renamed without changes.

‎docs/0.4.1/autograd.md

+1-1

‎docs/0.4.1/bottleneck.md

+1-1

‎docs/0.4.1/checkpoint.md

+1-1

‎docs/0.4.1/cpp_extenstion.md

+1-1

‎docs/0.4.1/cuda.md

+1-1

‎docs/0.4.1/data.md

+1-1

‎docs/0.4.1/distributed.md

+1-1

‎docs/0.4.1/distributions.md

+1-1

‎docs/0.4.1/ffi.md

+1-1

‎docs/0.4.1/genindex.md

+1-1

‎docs/0.4.1/index.md

+1-1

‎docs/0.4.1/legacy.md

+1-1

‎docs/0.4.1/model_zoo.md

+1-1

‎docs/0.4.1/multiprocessing.md

+1-1

‎docs/0.4.1/nn.md

+1-1

‎docs/0.4.1/onnx.md

+1-1

‎docs/0.4.1/optim.md

+1-1

‎docs/0.4.1/py-modindex.md

+1-1

‎docs/0.4.1/search.md

+1-1

‎docs/0.4.1/sparse.md

+1-1

‎docs/0.4.1/storage.md

+1-1

‎docs/0.4.1/tensor_attributes.md

+1-1

‎docs/0.4.1/tensors.md

+1-1

‎docs/0.4.1/torch.md

+1-1

‎docs/autograd.md

+1-1

‎docs/cuda.md

+1-1

‎docs/data.md

+1-1

‎docs/distributed.md

+1-1

‎docs/distributions.md

+1-1

‎docs/ffi.md

+1-1

‎docs/genindex.md

+1-1

‎docs/index.md

+1-1

‎docs/legacy.md

+1-1

‎docs/model_zoo.md

+1-1

‎docs/multiprocessing.md

+1-1

‎docs/nn.md

+1-1

‎docs/onnx.md

+1-1

‎docs/optim.md

+1-1

‎docs/py-modindex.md

+1-1

‎docs/search.md

+1-1

‎docs/sparse.md

+1-1

‎docs/storage.md

+1-1

‎docs/tensors.md

+1-1

‎docs/torch.md

+1-1

0 commit comments

Comments
 (0)