Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3fc60b8

Browse files
authoredDec 17, 2024··
Merge branch 'site' into fix-previous-versions
2 parents 75d5c82 + badf35b commit 3fc60b8

File tree

6 files changed

+42
-5
lines changed

6 files changed

+42
-5
lines changed
 

Diff for: ‎_config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ external_urls:
5959
hub_template: https://github.com/pytorch/hub/blob/master/docs/template.md
6060
twitter: https://twitter.com/pytorch
6161
facebook: https://www.facebook.com/pytorch
62-
slack: https://goo.gl/forms/PP1AGvNHpSaJP8to1
62+
slack: https://join.slack.com/t/pytorch/shared_invite/zt-2j2la612p-miUinTTaxXczKOJw48poHA
63+
wechat: https://pytorch.org/wechat
6364
discuss: https://discuss.pytorch.org
6465
contributor_forum: https://dev-discuss.pytorch.org/
6566
tutorials: https://pytorch.org/tutorials

Diff for: ‎_includes/footer.html

+6
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ <h2>Resources</h2>
6868
<li><a href="{{ site.external_urls.linkedIn }}" target="_blank" title="PyTorch on LinkedIn">
6969
<svg xmlns="http://www.w3.org/2000/svg" viewbox="-10.23 -10.23 531.96 531.96" aria-label="LinkedIn"><rect width="512" height="512" rx="0" fill="currentColor"/><circle fill="#000" cx="142" cy="138" r="37"/><path stroke="#000" stroke-width="66" d="M244 194v198M142 194v198"/><path fill="#000" d="M276 282c0-20 13-40 36-40 24 0 33 18 33 45v105h66V279c0-61-32-89-76-89-34 0-51 19-59 32"/></svg>
7070
</a></li>
71+
<li><a href="{{ site.external_urls.slack }}" target="_blank" title="PyTorch Slack">
72+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.16 -0.03 21.19 21.19" aria-label="Slack"><path fill="currentColor" d="M4.896 13.27a2.147 2.147 0 0 1-2.141 2.142A2.147 2.147 0 0 1 .613 13.27c0-1.178.963-2.141 2.142-2.141h2.141v2.141zm1.08 0c0-1.178.962-2.141 2.141-2.141s2.142.963 2.142 2.141v5.363a2.147 2.147 0 0 1-2.142 2.141 2.147 2.147 0 0 1-2.141-2.142V13.27zm2.141-8.6a2.147 2.147 0 0 1-2.141-2.14c0-1.18.962-2.142 2.141-2.142s2.142.963 2.142 2.141v2.142H8.117zm0 1.08c1.179 0 2.141.962 2.141 2.141a2.147 2.147 0 0 1-2.141 2.142H2.755A2.147 2.147 0 0 1 .613 7.89c0-1.179.963-2.141 2.142-2.141h5.362zm8.599 2.141c0-1.179.963-2.141 2.141-2.141 1.179 0 2.143.962 2.143 2.14a2.147 2.147 0 0 1-2.142 2.142h-2.141V7.89zm-1.08 0a2.147 2.147 0 0 1-2.141 2.142 2.147 2.147 0 0 1-2.141-2.142V2.53c0-1.178.962-2.141 2.141-2.141s2.142.963 2.142 2.141v5.362zm-2.141 8.6c1.179 0 2.142.962 2.142 2.14a2.147 2.147 0 0 1-2.142 2.142 2.147 2.147 0 0 1-2.141-2.141V16.49h2.141zm0-1.08a2.147 2.147 0 0 1-2.141-2.141c0-1.179.962-2.142 2.141-2.142h5.362c1.179 0 2.142.963 2.142 2.142a2.147 2.147 0 0 1-2.142 2.142h-5.362z"></path></svg>
73+
</a></li>
74+
<li><a href="/wechat" title="PyTorch on WeChat">
75+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.14 -0.17 38.02 33.02" aria-label="WeChat"><path fill="currentColor" d="M26.289 10.976a12.972 12.972 0 0 0-8.742 3.53 10.386 10.386 0 0 0-3.224 8.795c-1.326-.164-2.535-.345-3.75-.448a2.332 2.332 0 0 0-1.273.216c-1.18.666-2.311 1.418-3.652 2.255.246-1.112.405-2.087.687-3.024a1.15 1.15 0 0 0-.523-1.52C1.737 17.902.02 13.601 1.307 9.165c1.189-4.1 4.11-6.587 8.077-7.884A13.54 13.54 0 0 1 24.18 5.617a10.135 10.135 0 0 1 2.109 5.359zM10.668 9.594a1.564 1.564 0 0 0-2.095-1.472 1.52 1.52 0 0 0-.895 1.964 1.502 1.502 0 0 0 1.391.966 1.545 1.545 0 0 0 1.598-1.46v.002zm8.15-1.566a1.567 1.567 0 0 0-1.528 1.543 1.528 1.528 0 0 0 1.571 1.492 1.52 1.52 0 0 0 1.375-2.117 1.518 1.518 0 0 0-1.415-.919l-.003.001z"></path><path fill="currentColor" d="M33.914 32.137c-1.075-.478-2.062-1.196-3.11-1.306-1.049-.11-2.145.494-3.24.605a10.821 10.821 0 0 1-8.781-2.864c-4.682-4.33-4.013-10.97 1.403-14.518 4.811-3.154 11.874-2.102 15.268 2.273a8.671 8.671 0 0 1-1.002 12.095c-1.046.929-1.422 1.693-.751 2.917.102.257.174.525.213.798zM21.68 20.292a1.264 1.264 0 1 0 .01-2.528 1.264 1.264 0 0 0-.01 2.528zm7.887-2.526a1.266 1.266 0 0 0-1.256 1.21 1.247 1.247 0 1 0 1.256-1.21z"></path></svg>
76+
</a></li>
7177
</ul>
7278
</div>
7379

Diff for: ‎_resources/slack.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Slack
3-
summary-home: 'Discuss advanced topics. It is closed-invite only.'
4-
summary: 'Discuss advanced topics. It is closed-invite only.'
3+
summary-home: 'Discuss advanced topics.'
4+
summary: 'Discuss advanced topics.'
55
class: slack
6-
link: https://pytorch.slack.com
6+
link: https://join.slack.com/t/pytorch/shared_invite/zt-2j2la612p-miUinTTaxXczKOJw48poHA
77
order: 2
88
featured-home: true
99
---

Diff for: ‎_sass/footer.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265
display: grid;
266266
grid-column-gap: 3%;
267267
grid-row-gap: 30px;
268-
grid-template-columns: repeat(4, minmax(0, 1fr));
268+
grid-template-columns: repeat(6, minmax(0, 1fr));
269269

270270
li {
271271
text-align: center;

Diff for: ‎assets/images/pytorch_wechat_qr_code.png

39.1 KB
Loading

Diff for: ‎wechat.html

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
layout: default
3+
title: PyTorch on WeChat
4+
body-class: announcement
5+
background-class: announcement-background
6+
permalink: /wechat
7+
---
8+
9+
<div class="container">
10+
<div class="row hero-content">
11+
<div class="col-md-10">
12+
<h1>PyTorch on WeChat</h1>
13+
</div>
14+
</div>
15+
</div>
16+
17+
<div class="container-fluid light-background-section contact-us-section">
18+
<div class="container">
19+
<div class="row">
20+
<div class="col-md-10">
21+
<h2>Connect with us</h2>
22+
23+
<p class="lead">Connect with us on WeChat by scanning this QR code!</p>
24+
25+
<img src="/assets/images/pytorch_wechat_qr_code.png" style="max-width:300px;" alt="PyTorch WeChat QR Code"/>
26+
27+
</div>
28+
</div>
29+
</div>
30+
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.