Skip to content

Commit 56509d4

Browse files
authored
리소스 페이지 추가 및 url 관리 (PyTorchKorea#16) (PyTorchKorea#17)
1 parent 3e09583 commit 56509d4

15 files changed

+81
-23
lines changed

_config.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,19 @@ sass:
1515
load_paths:
1616
- _sass
1717
- node_modules
18-
exclude: [vendor, node_modules, README.md, CODE_OF_CONDUCT.md, Gemfile, Gemdile.lock, LICENSE, yarn.lock, yarn-error.log, package.json, Makefile, scripts, docs, _hub/docs/template.md]
18+
exclude: [vendor, node_modules, Gemfile, Gemdile.lock, README.md, LICENSE, CONTRIBUTING.md, yarn.lock, yarn-error.log, package.json, Makefile, scripts, docs, _hub/docs/template.md]
1919
include: [.nojekyll, CNAME, _static, _images, _modules, _sources, _tensor_str.html, _utils.html]
2020
keep_files: [vendor/assets, docs/master/_static/js/vendor/]
2121
github: [metadata]
2222
external_urls:
23-
org: https://pytorch.org
23+
org_www: https://pytorch.org
2424
org_docs: https://pytorch.org/docs
2525
org_tutorials: https://pytorch.org/tutorials
2626
hub_template: https://github.com/pytorch/hub/blob/master/docs/template.md
2727
previous_pytorch_versions: https://pytorch.kr/get-started/previous-versions/
28-
community: https://discuss.pytorch.kr/
29-
tutorials: https://tutorials.pytorch.kr/
28+
site_tutorials: https://tutorials.pytorch.kr/
29+
site_community: https://discuss.pytorch.kr/
30+
site_hub: https://pytorch.kr/hub
3031
repo_tutorials: https://github.com/PyTorchKorea/tutorials-kr
3132
repo_hub: https://github.com/PyTorchKorea/hub-kr
3233
repo_www: https://github.com/PyTorchKorea/pytorch.kr

_get_started/mobile.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ published: true
1313
PyTorch 1.3부터, PyTorch는 Python으로 iOS 및 Android 배포에 이르기까지 종단 간 워크플로우(end-to-end workflow)를 지원합니다.
1414
현재는 초기의, 실험적인 릴리즈로 앞으로 여러 영역에서 만들어나갈 예정입니다.
1515

16-
[Android]({{ site.external_urls.org }}/mobile/android)에서 시작하기
16+
[Android]({{ site.external_urls.org_www }}/mobile/android)에서 시작하기
1717

18-
[iOS]({{ site.external_urls.org }}/mobile/ios)에서 시작하기
18+
[iOS]({{ site.external_urls.org_www }}/mobile/ios)에서 시작하기
1919

2020
<script page-id="mobile" src="{{ site.baseurl }}/assets/menu-tab-selection.js"></script>

_includes/footer.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ <h2>공식 문서 (영어)</h2>
1010
<div class="col-md-4 text-center">
1111
<h2>한국어 튜토리얼</h2>
1212
<p>한국어로 번역 중인 PyTorch 튜토리얼입니다.</p>
13-
<a class="with-right-arrow" href="{{ site.external_urls.tutorials }}">튜토리얼로 이동</a>
13+
<a class="with-right-arrow" href="{{ site.external_urls.site_tutorials }}">튜토리얼로 이동</a>
1414
</div>
1515

1616
<div class="col-md-4 text-center">
1717
<h2>커뮤니티</h2>
1818
<p>다른 사용자들과 의견을 나눠보세요!</p>
19-
<a class="with-right-arrow" href="{{ site.external_urls.community }}">커뮤니티로 이동</a>
19+
<a class="with-right-arrow" href="{{ site.external_urls.site_community }}">커뮤니티로 이동</a>
2020
</div>
2121
</div>
2222
</div>
@@ -31,8 +31,8 @@ <h2>커뮤니티</h2>
3131
<div class="footer-links-wrapper">
3232
<div class="footer-links-col">
3333
<ul>
34-
<li class="list-title"><a href="{{ site.external_urls.org }}">PyTorch 홈페이지 (공식)</a></li>
35-
<li><a href="{{ site.external_urls.org }}">공식 홈페이지</a></li>
34+
<li class="list-title"><a href="{{ site.external_urls.org_www }}">PyTorch 홈페이지 (공식)</a></li>
35+
<li><a href="{{ site.external_urls.org_www }}">공식 홈페이지</a></li>
3636
<li><a href="{{ site.external_urls.org_tutorials }}">공식 튜토리얼</a></li>
3737
<li><a href="{{ site.external_urls.org_docs }}">공식 문서</a></li>
3838
</ul>
@@ -42,7 +42,7 @@ <h2>커뮤니티</h2>
4242
<ul>
4343
<li class="list-title"><a href="{{ site.baseurl }}">한국 사용자 모임</a></li>
4444
<li><a href="{{ site.baseurl }}/about">사이트 소개</a></li>
45-
<li><a href="{{ site.external_urls.tutorials }}">한국어 튜토리얼</a></li>
45+
<li><a href="{{ site.external_urls.site_tutorials }}">한국어 튜토리얼</a></li>
4646
<li><a href="{{ site.external_urls.repo_tutorials }}">한국어 튜토리얼 저장소</a></li>
4747
</ul>
4848
</div>

_includes/main_menu.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
</li>
66

77
<li class="main-menu-item">
8-
<a href="{{ site.external_urls.tutorials }}" target="_self">튜토리얼</a>
8+
<a href="{{ site.external_urls.site_tutorials }}" target="_self">튜토리얼</a>
99
</li>
1010

1111
<li class="main-menu-item {% if current[1] == 'hub' %}active{% endif %}">
1212
<a href="{{ site.baseurl }}/hub">허브</a>
1313
</li>
1414

1515
<li class="main-menu-item">
16-
<a href="{{ site.external_urls.community }}" target="_self">커뮤니티</a>
16+
<a href="{{ site.external_urls.site_community }}" target="_self">커뮤니티</a>
1717
</li>
1818
</ul>
1919
</div>

_includes/mobile_menu.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
</li>
1919

2020
<li class="main-menu-item">
21-
<a href="{{ site.external_urls.tutorials }}">튜토리얼</a>
21+
<a href="{{ site.external_urls.site_tutorials }}">튜토리얼</a>
2222
</li>
2323

2424
<li class="main-menu-item">
2525
<a href="{{ site.baseurl }}/hub">허브</a>
2626
</li>
2727

2828
<li class="main-menu-item">
29-
<a href="{{ site.external_urls.community }}">커뮤니티</a>
29+
<a href="{{ site.external_urls.site_community }}">커뮤니티</a>
3030
</li>
3131

3232
</ul>

_resources/org-docs.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 공식 문서
3+
summary: PyTorch 공식 홈페이지에서 제공하는 문서입니다.
4+
class: pytorch-resource
5+
link: https://pytorch.org/docs/
6+
order: 2
7+
8+
---

_resources/org-tutorials.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 공식 튜토리얼
3+
summary: PyTorch 공식 홈페이지에서 제공하는 튜토리얼입니다.
4+
class: pytorch-resource
5+
link: https://pytorch.org/tutorials
6+
order: 3
7+
8+
---

_resources/org-www.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 공식 홈페이지
3+
summary: PyTorch 공식 홈페이지입니다.
4+
class: pytorch-resource
5+
link: https://pytorch.org/
6+
order: 1
7+
8+
---

_resources/repo-hub.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 한국어 허브 저장소
3+
summary: 모델 허브를 한국어로 번역하는 GitHub 저장소입니다.
4+
class: github
5+
link: https://github.com/PyTorchKorea/hub-kr
6+
order: 7
7+
8+
---

_resources/repo-tutorials.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 한국어 튜토리얼 저장소
3+
summary: 튜토리얼을 한국어로 번역하는 GitHub 저장소입니다.
4+
class: github
5+
link: https://github.com/PyTorchKorea/tutorials-kr
6+
order: 5
7+
8+
---

_resources/site-community.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 한국어 커뮤니티
3+
summary: 파이토치 한국 사용자 모임 커뮤니티 사이트입니다. 다른 사용자들과 의견을 나눠보세요!
4+
class: pytorch-resource
5+
link: https://discuss.pytorch.kr
6+
order: 5
7+
8+
---

_resources/site-tutorials.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 한국어 튜토리얼
3+
summary: 파이토치 한국 사용자 모임에서 번역/관리하는 한국어 튜토리얼입니다.
4+
class: pytorch-resource
5+
link: https://tutorials.pytorch.kr
6+
order: 4
7+
8+
---

hub/hub.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1>
1414

1515
<p class="lead">
1616
사전 학습된 모델 저장소에 모델을 검색하고 공개합니다.<br />
17-
<a href="#model-row">연구자</a>를 위한 모델을 확인하거나, <a href="{{ site.external_urls.org }}/docs/stable/hub.html" target="_blank">어떻게 사용하는지</a> 알아보세요.
17+
<a href="#model-row">연구자</a>를 위한 모델을 확인하거나, <a href="{{ site.external_urls.org_www }}/docs/stable/hub.html" target="_blank">어떻게 사용하는지</a> 알아보세요.
1818
</p>
1919
<p class="lead"><a href="{{ site.external_urls.hub_template }}">모델 기여하기</a></p>
2020
<p class="hub-release-message">* 현재는 베타입니다 - 앞으로 몇 달 동안 피드백을 수집하고 PyTorch Hub를 개선 예정입니다.</p>
@@ -190,7 +190,7 @@ <h3 class="research-hub-sub-title">모델 불러오기</h3>
190190
<p class="how-it-works-text">
191191
다음은 <code class="hub-code-text">pytorch/vision</code> 저장소에서 <code class="hub-code-text">resnet18</code>을 불러오는 예시입니다.
192192
<p class="how-it-works-text"><code class="hub-code-text hub-code-block">model = torch.hub.load('pytorch/vision', 'resnet18', pretrained=True)</code></p>
193-
<button class="full-docs-button"><a href="{{ site.external_urls.org }}/docs/stable/hub.html" target="_blank">전체 문서 보기</a></button>
193+
<button class="full-docs-button"><a href="{{ site.external_urls.org_www }}/docs/stable/hub.html" target="_blank">전체 문서 보기</a></button>
194194
</div>
195195
</div>
196196
</div>

index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h5>{{ feature.title }}</h5>
6767
<h2>Ecosystem </h2>
6868
<h5>Feature Projects</h5>
6969

70-
<a href="{{ site.external_urls.org }}/ecosystem" class="btn btn-lg with-right-arrow module-button" >
70+
<a href="{{ site.external_urls.org_www }}/ecosystem" class="btn btn-lg with-right-arrow module-button" >
7171
모든 프로젝트 보기
7272
</a>
7373

@@ -80,7 +80,7 @@ <h5>Feature Projects</h5>
8080
<div class="row ecosystem-row">
8181
<div class="col-md-4">
8282
<div class="card ecosystem-card">
83-
<a href="{{ site.external_urls.org }}/ecosystem/Captum/">
83+
<a href="{{ site.external_urls.org_www }}/ecosystem/Captum/">
8484
<div class="card-body ">
8585
<h4>Captum</h4>
8686
<p class="card-summary">Captum (“comprehension” in Latin) is an open source, extensible library for model interpretability built on PyTorch.</p>
@@ -90,7 +90,7 @@ <h4>Captum</h4>
9090
</div>
9191
<div class="col-md-4">
9292
<div class="card ecosystem-card">
93-
<a href="{{ site.external_urls.org }}/ecosystem/pytorch-geometric/">
93+
<a href="{{ site.external_urls.org_www }}/ecosystem/pytorch-geometric/">
9494
<div class="card-body ">
9595
<h4>PyTorch Geometric</h4>
9696
<p class="card-summary">PyTorch Geometric is a library for deep learning on irregular input data such as graphs, point clouds, and manifolds.</p>
@@ -100,7 +100,7 @@ <h4>PyTorch Geometric</h4>
100100
</div>
101101
<div class="col-md-4">
102102
<div class="card ecosystem-card">
103-
<a href="{{ site.external_urls.org }}/ecosystem/skorch/">
103+
<a href="{{ site.external_urls.org_www }}/ecosystem/skorch/">
104104
<div class="card-body ">
105105
<h4>skorch</h4>
106106
<p class="card-summary">skorch is a high-level library for PyTorch that provides full scikit-learn compatibility.</p>

resources.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99

1010
<div class="jumbotron jumbotron-fluid">
1111
<div class="container">
12-
<h1>Resources</h1>
12+
<h1>리소스(Resources)</h1>
1313

14-
<p class="lead">Explore educational courses, get your questions answered, and join the discussion with other PyTorch developers.</p>
14+
<p class="lead">PyTorch 공식 홈페이지/저장소를 비롯하여 도움이 되는 링크들을 모아두었습니다. <br />
15+
더 많은 정보들은 <a href="https://discuss.pytorch.kr/c/share-stuff/8" target="_blank">커뮤니티의 정보 공유 게시판</a>을 참고해보세요!</p>
1516
</div>
1617
</div>
1718

0 commit comments

Comments
 (0)