Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added _static/favicon.ico
Binary file not shown.
Binary file added _static/logos/favicon.ico
Binary file not shown.
Binary file added _static/logos/logo-kr-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/logos/logo-kr-sm-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/logos/logo-kr-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/logos/logo-kr-square-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/logos/logo-kr-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/logos/logo-kr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: http://tutorials.pytorch.kr/sitemap.xml
16 changes: 15 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@
'sphinx_copybutton',
'sphinx_gallery.gen_gallery',
'sphinx_sitemap',
'sphinxext.opengraph',
]


# -- Sphinxext-opengraph configuration ---------------------------------------

ogp_site_url = site_url
ogp_image = '{}{}'.format(site_url, '_static/logos/logo-kr-sm-dark.png')
ogp_description_length = 300
ogp_type = 'article'
ogp_custom_meta_tags = [
'<meta property="og:ignore_canonical" content="true" />',
]


Expand Down Expand Up @@ -189,7 +201,9 @@

html_theme = 'pytorch_sphinx_theme'
html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()]
html_logo = '_static/img/pytorch-logo-dark.svg'
html_logo = '_static/logos/logo-kr-sm-dark.svg'
html_favicon = '_static/favicon.ico' # under html_static_path
html_title = '파이토치 한국어 튜토리얼(PyTorch tutorials in Korean)'
html_theme_options = {
'pytorch_project': 'tutorials',
'collapse_navigation': False,
Expand Down
6 changes: 4 additions & 2 deletions index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
파이토치(PyTorch) 튜토리얼에 오신 것을 환영합니다
==================================================
:og:description: 파이토치(PyTorch) 한국어 튜토리얼에 오신 것을 환영합니다. 파이토치 한국 사용자 모임은 한국어를 사용하시는 많은 분들께 PyTorch를 소개하고 함께 배우며 성장하는 것을 목표로 하고 있습니다.

파이토치(PyTorch) 한국어 튜토리얼에 오신 것을 환영합니다!
=============================================================

.. raw:: html

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sphinx-gallery==0.3.1
docutils==0.16
sphinx-copybutton
sphinx-sitemap
sphinxext-opengraph
tqdm
numpy
matplotlib
Expand Down