Skip to content

Commit a041428

Browse files
authored
Merge pull request pytorch#51 from ericnakagawa/master
New PyTorch website - Static build
2 parents 48a727f + c8195d0 commit a041428

File tree

184 files changed

+23331
-4759
lines changed

Some content is hidden

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

184 files changed

+23331
-4759
lines changed

2017/05/11/Internals.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<meta charset="utf-8">
4+
<title>Redirecting&hellip;</title>
5+
<link rel="canonical" href="https://pytorch.org/blog/a-tour-of-pytorch-internals-1/">
6+
<script>location="https://pytorch.org/blog/a-tour-of-pytorch-internals-1/"</script>
7+
<meta http-equiv="refresh" content="0; url=https://pytorch.org/blog/a-tour-of-pytorch-internals-1/">
8+
<meta name="robots" content="noindex">
9+
<h1>Redirecting&hellip;</h1>
10+
<a href="https://pytorch.org/blog/a-tour-of-pytorch-internals-1/">Click here if you are not redirected.</a>
11+
</html>

2017/06/27/Internals2.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<meta charset="utf-8">
4+
<title>Redirecting&hellip;</title>
5+
<link rel="canonical" href="https://pytorch.org/blog/a-tour-of-pytorch-internals-2/">
6+
<script>location="https://pytorch.org/blog/a-tour-of-pytorch-internals-2/"</script>
7+
<meta http-equiv="refresh" content="0; url=https://pytorch.org/blog/a-tour-of-pytorch-internals-2/">
8+
<meta name="robots" content="noindex">
9+
<h1>Redirecting&hellip;</h1>
10+
<a href="https://pytorch.org/blog/a-tour-of-pytorch-internals-2/">Click here if you are not redirected.</a>
11+
</html>

2018/01/19/a-year-in.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<meta charset="utf-8">
4+
<title>Redirecting&hellip;</title>
5+
<link rel="canonical" href="https://pytorch.org/blog/a-year-in/">
6+
<script>location="https://pytorch.org/blog/a-year-in/"</script>
7+
<meta http-equiv="refresh" content="0; url=https://pytorch.org/blog/a-year-in/">
8+
<meta name="robots" content="noindex">
9+
<h1>Redirecting&hellip;</h1>
10+
<a href="https://pytorch.org/blog/a-year-in/">Click here if you are not redirected.</a>
11+
</html>

2018/03/05/tensor-comprehensions.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<meta charset="utf-8">
4+
<title>Redirecting&hellip;</title>
5+
<link rel="canonical" href="https://pytorch.org/blog/tensor-comprehensions/">
6+
<script>location="https://pytorch.org/blog/tensor-comprehensions/"</script>
7+
<meta http-equiv="refresh" content="0; url=https://pytorch.org/blog/tensor-comprehensions/">
8+
<meta name="robots" content="noindex">
9+
<h1>Redirecting&hellip;</h1>
10+
<a href="https://pytorch.org/blog/tensor-comprehensions/">Click here if you are not redirected.</a>
11+
</html>

2018/04/22/0_4_0-migration-guide.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<meta charset="utf-8">
4+
<title>Redirecting&hellip;</title>
5+
<link rel="canonical" href="https://pytorch.org/blog/pytorch-0_4_0-migration-guide/">
6+
<script>location="https://pytorch.org/blog/pytorch-0_4_0-migration-guide/"</script>
7+
<meta http-equiv="refresh" content="0; url=https://pytorch.org/blog/pytorch-0_4_0-migration-guide/">
8+
<meta name="robots" content="noindex">
9+
<h1>Redirecting&hellip;</h1>
10+
<a href="https://pytorch.org/blog/pytorch-0_4_0-migration-guide/">Click here if you are not redirected.</a>
11+
</html>

2018/05/02/road-to-1.0.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<meta charset="utf-8">
4+
<title>Redirecting&hellip;</title>
5+
<link rel="canonical" href="https://pytorch.org/blog/the-road-to-1_0/">
6+
<script>location="https://pytorch.org/blog/the-road-to-1_0/"</script>
7+
<meta http-equiv="refresh" content="0; url=https://pytorch.org/blog/the-road-to-1_0/">
8+
<meta name="robots" content="noindex">
9+
<h1>Redirecting&hellip;</h1>
10+
<a href="https://pytorch.org/blog/the-road-to-1_0/">Click here if you are not redirected.</a>
11+
</html>

404.html

Lines changed: 282 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,292 @@
1-
---
2-
title: Oops!
3-
id: 404
4-
permalink: /404.html
5-
layout: about
6-
---
7-
81
<!DOCTYPE html>
9-
<html>
2+
<html lang="en">
103
<head>
11-
<style type='text/css'>
12-
h4 {
13-
margin: 2em 0;
14-
}
15-
</style>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?">
8+
<title>
9+
10+
Oops! | PyTorch
11+
12+
</title>
13+
<meta property="og:title" content="PyTorch"/>
14+
<meta property="og:description" content="An open source deep learning platform that provides a seamless path from research prototyping to production deployment."/>
15+
<meta property="og:url" content="https://www.pytorch.org"/>
16+
<meta property="og:type" content="website"/>
17+
<meta property="og:image" content="https://pytorch.org/assets/images/pytorch-logo.png"/>
18+
19+
<link rel="stylesheet" href="/assets/main.css">
20+
<script src="/assets/vendor/jquery.min.js"></script>
21+
<script src="/assets/vendor/popper.min.js"></script>
22+
<script src="/assets/vendor/bootstrap.min.js"></script>
23+
<script src="/assets/vendor/anchor.min.js"></script>
24+
1625
</head>
17-
<body>
18-
<div style="text-align: center">
19-
<img src="/static/img/404_sign.png">
2026

21-
<h1>Oops!</h1>
2227

23-
<h4>You've reached a dead end.</h4>
28+
<body class="general">
29+
<div class="container-fluid header-holder blog-detail-header">
30+
<div class="container">
31+
32+
33+
<div class="header-container">
34+
<a class="header-logo" href="https://pytorch.org" aria-label="PyTorch"></a>
35+
36+
<div class="main-menu">
37+
<ul>
38+
<li class="">
39+
<a href="/get-started">Get Started</a>
40+
</li>
41+
42+
<li class="">
43+
<a href="/features">Features</a>
44+
</li>
45+
46+
<li class="">
47+
<a href="/ecosystem">Ecosystem</a>
48+
</li>
2449

25-
<h4>
26-
If you feel like something should be here, you can
27-
<a target="_blank" href="https://github.com/pytorch/pytorch.github.io/issues/new">open an issue</a>
28-
on GitHub.
29-
</h4>
50+
<li class="">
51+
<a href="/blog">Blog</a>
52+
</li>
3053

31-
<h4>
32-
Click <a href="https://pytorch.org/">here</a> to go back to the main page.
33-
</h4>
54+
<li>
55+
<a href="https://pytorch.org/tutorials">Tutorials</a>
56+
</li>
57+
58+
<li>
59+
<a href="https://pytorch.org/docs">Docs</a>
60+
</li>
61+
62+
<li class="">
63+
<a href="/resources">Resources</a>
64+
</li>
65+
66+
<li>
67+
<a href="https://github.com/pytorch/pytorch">Github</a>
68+
</li>
69+
</ul>
70+
</div>
71+
72+
73+
<a class="main-menu-open-button" href="#" data-behavior="open-mobile-menu"></a>
74+
</div>
75+
76+
</div>
3477
</div>
78+
79+
<div class="main-content-wrapper">
80+
<div class="main-content">
81+
<div class="container">
82+
<article class="pytorch-article">
83+
<!DOCTYPE html>
84+
<html>
85+
<body>
86+
<img src="/assets/images/404_sign.png" />
87+
88+
<h1>Oops!</h1>
89+
90+
<h4>You've reached a dead end.</h4>
91+
92+
<h4>
93+
If you feel like something should be here, you can <a href="https://github.com/pytorch/pytorch.github.io/issues">open an issue</a> on GitHub.
94+
</h4>
95+
96+
<h4>
97+
Click <a href="/">here</a> to go back to the main page.
98+
</h4>
3599
</body>
36100
</html>
101+
</article>
102+
</div>
103+
</div>
104+
</div>
105+
106+
<div class="container-fluid docs-tutorials-resources">
107+
<div class="container">
108+
<div class="row">
109+
<div class="col-md-4 text-center">
110+
<h2>Docs</h2>
111+
<p>Access comprehensive developer documentation for PyTorch</p>
112+
<a class="with-right-arrow" href="https://pytorch.org/docs">View Docs</a>
113+
</div>
114+
115+
<div class="col-md-4 text-center">
116+
<h2>Tutorials</h2>
117+
<p>Get in-depth tutorials for beginners and advanced developers</p>
118+
<a class="with-right-arrow" href="https://pytorch.org/tutorials">View Tutorials</a>
119+
</div>
120+
121+
<div class="col-md-4 text-center">
122+
<h2>Resources</h2>
123+
<p>Find development resources and get your questions answered</p>
124+
<a class="with-right-arrow" href="/resources">View Resources</a>
125+
</div>
126+
</div>
127+
</div>
128+
</div>
129+
130+
<footer class="site-footer">
131+
<div class="container footer-container">
132+
<div class="footer-logo-wrapper">
133+
<a href="https://pytorch.org" class="footer-logo"></a>
134+
</div>
135+
136+
<div class="footer-links-wrapper">
137+
<div class="footer-links-col">
138+
<ul>
139+
<li class="list-title"><a href="https://pytorch.org">PyTorch</a></li>
140+
<li><a href="/get-started">Get Started</a></li>
141+
<li><a href="/features">Features</a></li>
142+
<li><a href="/ecosystem">Ecosystem</a></li>
143+
<li><a href="/blog">Blog</a></li>
144+
<li><a href="https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md" target="_blank">Contributing</a></li>
145+
</ul>
146+
</div>
147+
148+
<div class="footer-links-col">
149+
<ul>
150+
<li class="list-title"><a href="/resources">Resources</a></li>
151+
<li><a href="https://pytorch.org/tutorials">Tutorials</a></li>
152+
<li><a href="https://pytorch.org/docs">Docs</a></li>
153+
<li><a href="https://discuss.pytorch.org" target="_blank">Discuss</a></li>
154+
<li><a href="https://github.com/pytorch/pytorch/issues" target="_blank">GitHub Issues</a></li>
155+
<li><a href="https://pytorch.slack.com" target="_blank">Slack</a></li>
156+
</ul>
157+
</div>
158+
159+
<div class="footer-links-col follow-us-col">
160+
<ul>
161+
<li class="list-title">Stay Connected</li>
162+
<li>
163+
164+
<div id="mc_embed_signup">
165+
<form
166+
action="https://twitter.us14.list-manage.com/subscribe/post?u=75419c71fe0a935e53dfa4a3f&id=91d0dccd39"
167+
method="post"
168+
id="mc-embedded-subscribe-form"
169+
name="mc-embedded-subscribe-form"
170+
class="email-subscribe-form validate"
171+
target="_blank"
172+
novalidate>
173+
<div id="mc_embed_signup_scroll" class="email-subscribe-form-fields-wrapper">
174+
<div class="mc-field-group">
175+
<label for="mce-EMAIL" style="display:none;">Email Address</label>
176+
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="Email Address">
177+
</div>
178+
179+
<div id="mce-responses" class="clear">
180+
<div class="response" id="mce-error-response" style="display:none"></div>
181+
<div class="response" id="mce-success-response" style="display:none"></div>
182+
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
183+
184+
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_75419c71fe0a935e53dfa4a3f_91d0dccd39" tabindex="-1" value=""></div>
185+
186+
<div class="clear">
187+
<input type="submit" value="" name="subscribe" id="mc-embedded-subscribe" class="button email-subscribe-button">
188+
</div>
189+
</div>
190+
</form>
191+
</div>
192+
193+
</li>
194+
</ul>
195+
196+
<div class="footer-social-icons">
197+
<a href="https://www.facebook.com/pytorch" target="_blank" class="facebook"></a>
198+
<a href="https://twitter.com/pytorch" target="_blank" class="twitter"></a>
199+
</div>
200+
</div>
201+
</div>
202+
</div>
203+
</footer>
204+
205+
<div class="mobile-main-menu">
206+
<div class="container-fluid">
207+
<div class="container">
208+
<div class="mobile-main-menu-header-container">
209+
<a class="header-logo" href="https://pytorch.org" aria-label="PyTorch"></a>
210+
<a class="main-menu-close-button" href="#" data-behavior="close-mobile-menu"></a>
211+
</div>
212+
</div>
213+
</div>
214+
215+
<div class="mobile-main-menu-links-container">
216+
<div class="main-menu">
217+
<ul>
218+
<li class="">
219+
<a href="/get-started">Get Started</a>
220+
</li>
221+
222+
<li class="">
223+
<a href="/features">Features</a>
224+
</li>
225+
226+
<li class="">
227+
<a href="/ecosystem">Ecosystem</a>
228+
</li>
229+
230+
<li class="">
231+
<a href="/blog">Blog</a>
232+
</li>
233+
234+
<li>
235+
<a href="https://pytorch.org/tutorials">Tutorials</a>
236+
</li>
237+
238+
<li>
239+
<a href="https://pytorch.org/docs">Docs</a>
240+
</li>
241+
242+
<li class="">
243+
<a href="/resources">Resources</a>
244+
</li>
245+
246+
<li>
247+
<a href="https://github.com/pytorch/pytorch">Github</a>
248+
</li>
249+
</ul>
250+
</div>
251+
252+
</div>
253+
</div>
254+
255+
256+
<script src="/assets/mobile-menu.js"></script>
257+
<script src="/assets/scroll-to-anchor.js"></script>
258+
<script src="/assets/external-links-new-tab.js"></script>
259+
260+
<script type="text/javascript">
261+
mobileMenu.bind();
262+
anchors.add('.pytorch-article h2, .pytorch-article h3, .pytorch-article h4, .pytorch-article h5');
263+
264+
// Add class to links that have code blocks, since we cannot create links in code blocks
265+
$("a code.highlighter-rouge").each(function(e) {
266+
$(this).closest("a").addClass("has-code");
267+
});
268+
269+
scrollToAnchor.bind();
270+
271+
var hasStaticHeader = $(".blog-header, .blog-detail-header, .resources-header").length > 0;
272+
273+
if (!hasStaticHeader) {
274+
$(window).on("scroll", function() {
275+
var top = $(this).scrollTop();
276+
var fullPosition = $(".main-background").height() - $(".header-holder").height();
277+
278+
if (top === 0) {
279+
$(".header-holder").css({"backgroundColor": "transparent"});
280+
} else if (top >= fullPosition) {
281+
$(".header-holder").css({"backgroundColor": "#000000"});
282+
} else {
283+
var bgColor = "rgba(0, 0, 0, " + top / fullPosition + ")";
284+
$(".header-holder").css({"backgroundColor": bgColor});
285+
}
286+
});
287+
}
288+
</script>
289+
290+
291+
</body>
292+
</html>

Gemfile

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)