Skip to content

Commit 1033838

Browse files
committed
Update top nav to link direct to stable docs
1 parent d187a98 commit 1033838

File tree

30 files changed

+124
-204
lines changed

30 files changed

+124
-204
lines changed

404.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</li>
5757

5858
<li>
59-
<a href="https://pytorch.org/docs">Docs</a>
59+
<a href="https://pytorch.org/docs/stable">Docs</a>
6060
</li>
6161

6262
<li class="">
@@ -109,7 +109,7 @@ <h4>
109109
<div class="col-md-4 text-center">
110110
<h2>Docs</h2>
111111
<p>Access comprehensive developer documentation for PyTorch</p>
112-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
112+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
113113
</div>
114114

115115
<div class="col-md-4 text-center">
@@ -149,7 +149,7 @@ <h2>Resources</h2>
149149
<ul>
150150
<li class="list-title"><a href="/resources">Resources</a></li>
151151
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
152-
<li><a href="https://pytorch.org/docs">Docs</a></li>
152+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
153153
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
154154
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
155155
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -236,7 +236,7 @@ <h2>Resources</h2>
236236
</li>
237237

238238
<li>
239-
<a href="https://pytorch.org/docs">Docs</a>
239+
<a href="https://pytorch.org/docs/stable">Docs</a>
240240
</li>
241241

242242
<li class="">

README.md

Lines changed: 1 addition & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1 @@
1-
# pytorch.github.io
2-
3-
[https://pytorch.org](https://pytorch.org)
4-
5-
A static website built in [Jekyll](https://jekyllrb.com/) and [Bootstrap](https://getbootstrap.com/) for [PyTorch](https://pytorch.org/), and its tutorials and documentation.
6-
7-
## Prerequisites
8-
9-
Install the following packages before attempting to setup the project:
10-
11-
- [rbenv](https://github.com/rbenv/rbenv)
12-
- [ruby-build](https://github.com/rbenv/ruby-build)
13-
- [nvm](https://github.com/creationix/nvm)
14-
15-
## Setup
16-
17-
#### Install required Ruby version:
18-
19-
```
20-
#### You only need to run these commands if you are missing the needed Ruby version.
21-
22-
rbenv install `cat .ruby-version`
23-
gem install bundler
24-
rbenv rehash
25-
26-
####
27-
28-
bundle install
29-
rbenv rehash
30-
```
31-
32-
#### Install required Node version
33-
34-
```
35-
nvm install
36-
nvm use
37-
```
38-
39-
#### Install Yarn
40-
41-
```
42-
brew install yarn --without-node
43-
yarn install
44-
```
45-
46-
## Local Development
47-
48-
To run the website locally for development:
49-
50-
```
51-
make serve
52-
```
53-
54-
Then navigate to [localhost:4000](localhost:4000).
55-
56-
Note the `serve` task is contained in a `Makefile` in the root directory. We are using `make` as an alternative to the standard `jekyll serve` as we want to run `yarn`, which is not included in Jekyll by default.
57-
58-
### Building the Static Site
59-
60-
To build the static website from source:
61-
62-
```
63-
make build
64-
```
65-
66-
This will build the static site at `./_site`. This directory is not tracked in git.
67-
68-
## Deployments
69-
70-
The website is hosted on [Github Pages](https://pages.github.com/) at the [https://github.com/pytorch/pytorch.github.io](https://github.com/pytorch/pytorch.github.io) repo.
1+
PyTorch Website https://pytorch.org

blog/2/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</li>
5757

5858
<li>
59-
<a href="https://pytorch.org/docs">Docs</a>
59+
<a href="https://pytorch.org/docs/stable">Docs</a>
6060
</li>
6161

6262
<li class="">
@@ -365,7 +365,7 @@ <h3>Quick Start With<br />Cloud Partners</h3>
365365
<div class="col-md-4 text-center">
366366
<h2>Docs</h2>
367367
<p>Access comprehensive developer documentation for PyTorch</p>
368-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
368+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
369369
</div>
370370

371371
<div class="col-md-4 text-center">
@@ -405,7 +405,7 @@ <h2>Resources</h2>
405405
<ul>
406406
<li class="list-title"><a href="/resources">Resources</a></li>
407407
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
408-
<li><a href="https://pytorch.org/docs">Docs</a></li>
408+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
409409
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
410410
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
411411
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -492,7 +492,7 @@ <h2>Resources</h2>
492492
</li>
493493

494494
<li>
495-
<a href="https://pytorch.org/docs">Docs</a>
495+
<a href="https://pytorch.org/docs/stable">Docs</a>
496496
</li>
497497

498498
<li class="">

blog/a-tour-of-pytorch-internals-1/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</li>
5959

6060
<li>
61-
<a href="https://pytorch.org/docs">Docs</a>
61+
<a href="https://pytorch.org/docs/stable">Docs</a>
6262
</li>
6363

6464
<li class="">
@@ -427,7 +427,7 @@ <h3 id="resources">Resources:</h3>
427427
<div class="col-md-4 text-center">
428428
<h2>Docs</h2>
429429
<p>Access comprehensive developer documentation for PyTorch</p>
430-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
430+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
431431
</div>
432432

433433
<div class="col-md-4 text-center">
@@ -467,7 +467,7 @@ <h2>Resources</h2>
467467
<ul>
468468
<li class="list-title"><a href="/resources">Resources</a></li>
469469
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
470-
<li><a href="https://pytorch.org/docs">Docs</a></li>
470+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
471471
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
472472
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
473473
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -554,7 +554,7 @@ <h2>Resources</h2>
554554
</li>
555555

556556
<li>
557-
<a href="https://pytorch.org/docs">Docs</a>
557+
<a href="https://pytorch.org/docs/stable">Docs</a>
558558
</li>
559559

560560
<li class="">

blog/a-tour-of-pytorch-internals-2/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</li>
5959

6060
<li>
61-
<a href="https://pytorch.org/docs">Docs</a>
61+
<a href="https://pytorch.org/docs/stable">Docs</a>
6262
</li>
6363

6464
<li class="">
@@ -673,7 +673,7 @@ <h3 id="not-covered-but-also-relevant">Not Covered, But Also Relevant</h3>
673673
<div class="col-md-4 text-center">
674674
<h2>Docs</h2>
675675
<p>Access comprehensive developer documentation for PyTorch</p>
676-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
676+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
677677
</div>
678678

679679
<div class="col-md-4 text-center">
@@ -713,7 +713,7 @@ <h2>Resources</h2>
713713
<ul>
714714
<li class="list-title"><a href="/resources">Resources</a></li>
715715
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
716-
<li><a href="https://pytorch.org/docs">Docs</a></li>
716+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
717717
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
718718
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
719719
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -800,7 +800,7 @@ <h2>Resources</h2>
800800
</li>
801801

802802
<li>
803-
<a href="https://pytorch.org/docs">Docs</a>
803+
<a href="https://pytorch.org/docs/stable">Docs</a>
804804
</li>
805805

806806
<li class="">

blog/a-year-in/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</li>
5959

6060
<li>
61-
<a href="https://pytorch.org/docs">Docs</a>
61+
<a href="https://pytorch.org/docs/stable">Docs</a>
6262
</li>
6363

6464
<li class="">
@@ -288,7 +288,7 @@ <h2 id="users-being-funny-">Users being funny :)</h2>
288288
<div class="col-md-4 text-center">
289289
<h2>Docs</h2>
290290
<p>Access comprehensive developer documentation for PyTorch</p>
291-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
291+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
292292
</div>
293293

294294
<div class="col-md-4 text-center">
@@ -328,7 +328,7 @@ <h2>Resources</h2>
328328
<ul>
329329
<li class="list-title"><a href="/resources">Resources</a></li>
330330
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
331-
<li><a href="https://pytorch.org/docs">Docs</a></li>
331+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
332332
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
333333
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
334334
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -415,7 +415,7 @@ <h2>Resources</h2>
415415
</li>
416416

417417
<li>
418-
<a href="https://pytorch.org/docs">Docs</a>
418+
<a href="https://pytorch.org/docs/stable">Docs</a>
419419
</li>
420420

421421
<li class="">

blog/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</li>
5757

5858
<li>
59-
<a href="https://pytorch.org/docs">Docs</a>
59+
<a href="https://pytorch.org/docs/stable">Docs</a>
6060
</li>
6161

6262
<li class="">
@@ -365,7 +365,7 @@ <h3>Quick Start With<br />Cloud Partners</h3>
365365
<div class="col-md-4 text-center">
366366
<h2>Docs</h2>
367367
<p>Access comprehensive developer documentation for PyTorch</p>
368-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
368+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
369369
</div>
370370

371371
<div class="col-md-4 text-center">
@@ -405,7 +405,7 @@ <h2>Resources</h2>
405405
<ul>
406406
<li class="list-title"><a href="/resources">Resources</a></li>
407407
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
408-
<li><a href="https://pytorch.org/docs">Docs</a></li>
408+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
409409
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
410410
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
411411
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -492,7 +492,7 @@ <h2>Resources</h2>
492492
</li>
493493

494494
<li>
495-
<a href="https://pytorch.org/docs">Docs</a>
495+
<a href="https://pytorch.org/docs/stable">Docs</a>
496496
</li>
497497

498498
<li class="">

blog/pytorch-0_4_0-migration-guide/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</li>
5959

6060
<li>
61-
<a href="https://pytorch.org/docs">Docs</a>
61+
<a href="https://pytorch.org/docs/stable">Docs</a>
6262
</li>
6363

6464
<li class="">
@@ -599,7 +599,7 @@ <h2 id="code-samples-putting-it-all-together">Code Samples (Putting it all toget
599599
<div class="col-md-4 text-center">
600600
<h2>Docs</h2>
601601
<p>Access comprehensive developer documentation for PyTorch</p>
602-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
602+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
603603
</div>
604604

605605
<div class="col-md-4 text-center">
@@ -639,7 +639,7 @@ <h2>Resources</h2>
639639
<ul>
640640
<li class="list-title"><a href="/resources">Resources</a></li>
641641
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
642-
<li><a href="https://pytorch.org/docs">Docs</a></li>
642+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
643643
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
644644
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
645645
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -726,7 +726,7 @@ <h2>Resources</h2>
726726
</li>
727727

728728
<li>
729-
<a href="https://pytorch.org/docs">Docs</a>
729+
<a href="https://pytorch.org/docs/stable">Docs</a>
730730
</li>
731731

732732
<li class="">

blog/tensor-comprehensions/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</li>
5959

6060
<li>
61-
<a href="https://pytorch.org/docs">Docs</a>
61+
<a href="https://pytorch.org/docs/stable">Docs</a>
6262
</li>
6363

6464
<li class="">
@@ -306,7 +306,7 @@ <h2 id="acknowledgements">Acknowledgements</h2>
306306
<div class="col-md-4 text-center">
307307
<h2>Docs</h2>
308308
<p>Access comprehensive developer documentation for PyTorch</p>
309-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
309+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
310310
</div>
311311

312312
<div class="col-md-4 text-center">
@@ -346,7 +346,7 @@ <h2>Resources</h2>
346346
<ul>
347347
<li class="list-title"><a href="/resources">Resources</a></li>
348348
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
349-
<li><a href="https://pytorch.org/docs">Docs</a></li>
349+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
350350
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
351351
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
352352
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -433,7 +433,7 @@ <h2>Resources</h2>
433433
</li>
434434

435435
<li>
436-
<a href="https://pytorch.org/docs">Docs</a>
436+
<a href="https://pytorch.org/docs/stable">Docs</a>
437437
</li>
438438

439439
<li class="">

blog/the-road-to-1_0/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</li>
5959

6060
<li>
61-
<a href="https://pytorch.org/docs">Docs</a>
61+
<a href="https://pytorch.org/docs/stable">Docs</a>
6262
</li>
6363

6464
<li class="">
@@ -222,7 +222,7 @@ <h2 id="last-words">Last Words</h2>
222222
<div class="col-md-4 text-center">
223223
<h2>Docs</h2>
224224
<p>Access comprehensive developer documentation for PyTorch</p>
225-
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
225+
<a class="with-right-arrow" href="https://pytorch.org/docs/stable">View Docs</a>
226226
</div>
227227

228228
<div class="col-md-4 text-center">
@@ -262,7 +262,7 @@ <h2>Resources</h2>
262262
<ul>
263263
<li class="list-title"><a href="/resources">Resources</a></li>
264264
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
265-
<li><a href="https://pytorch.org/docs">Docs</a></li>
265+
<li><a href="https://pytorch.org/docs/stable">Docs</a></li>
266266
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
267267
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
268268
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
@@ -349,7 +349,7 @@ <h2>Resources</h2>
349349
</li>
350350

351351
<li>
352-
<a href="https://pytorch.org/docs">Docs</a>
352+
<a href="https://pytorch.org/docs/stable">Docs</a>
353353
</li>
354354

355355
<li class="">

0 commit comments

Comments
 (0)