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
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ source "https://rubygems.org"
ruby "2.7.4"

group :jekyll_plugins do
gem "github-pages"
gem "github-pages", :git => "https://github.com/9bow/pages-gem.git"
gem "jekyll-paginate-v2"
gem "jekyll-autoprefixer"
gem "jekyll-github-metadata"
gem "execjs", "2.7.0"
end
100 changes: 53 additions & 47 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
GIT
remote: https://github.com/9bow/pages-gem.git
revision: 3ec997923f8080ee813f263d9a31029b5c55417f
specs:
github-pages (226)
github-pages-health-check (= 1.17.9)
jekyll (= 3.9.2)
jekyll-avatar (= 0.7.0)
jekyll-coffeescript (= 1.1.1)
jekyll-commonmark-ghpages (= 0.2.0)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.15.1)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.14.0)
jekyll-include-cache (= 0.2.1)
jekyll-mentions (= 1.6.0)
jekyll-optional-front-matter (= 0.3.2)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.16.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.3)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.8.0)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.2.0)
jekyll-theme-cayman (= 0.2.0)
jekyll-theme-dinky (= 0.2.0)
jekyll-theme-hacker (= 0.2.0)
jekyll-theme-leap-day (= 0.2.0)
jekyll-theme-merlot (= 0.2.0)
jekyll-theme-midnight (= 0.2.0)
jekyll-theme-minimal (= 0.2.0)
jekyll-theme-modernist (= 0.2.0)
jekyll-theme-primer (= 0.6.0)
jekyll-theme-slate (= 0.2.0)
jekyll-theme-tactile (= 0.2.0)
jekyll-theme-time-machine (= 0.2.0)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.12.0)
kramdown (= 2.3.2)
kramdown-parser-gfm (= 1.1.0)
liquid (= 4.0.3)
mercenary (~> 0.3)
minima (= 2.5.1)
nokogiri (>= 1.13.4, < 2.0)
rouge (= 3.26.0)
terminal-table (~> 1.4)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -53,51 +103,6 @@ GEM
ffi (1.15.5)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (226)
github-pages-health-check (= 1.17.9)
jekyll (= 3.9.2)
jekyll-avatar (= 0.7.0)
jekyll-coffeescript (= 1.1.1)
jekyll-commonmark-ghpages (= 0.2.0)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.15.1)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.13.0)
jekyll-include-cache (= 0.2.1)
jekyll-mentions (= 1.6.0)
jekyll-optional-front-matter (= 0.3.2)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.16.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.3)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.8.0)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.2.0)
jekyll-theme-cayman (= 0.2.0)
jekyll-theme-dinky (= 0.2.0)
jekyll-theme-hacker (= 0.2.0)
jekyll-theme-leap-day (= 0.2.0)
jekyll-theme-merlot (= 0.2.0)
jekyll-theme-midnight (= 0.2.0)
jekyll-theme-minimal (= 0.2.0)
jekyll-theme-modernist (= 0.2.0)
jekyll-theme-primer (= 0.6.0)
jekyll-theme-slate (= 0.2.0)
jekyll-theme-tactile (= 0.2.0)
jekyll-theme-time-machine (= 0.2.0)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.12.0)
kramdown (= 2.3.2)
kramdown-parser-gfm (= 1.1.0)
liquid (= 4.0.3)
mercenary (~> 0.3)
minima (= 2.5.1)
nokogiri (>= 1.13.4, < 2.0)
rouge (= 3.26.0)
terminal-table (~> 1.4)
github-pages-health-check (1.17.9)
addressable (~> 2.3)
dnsruby (~> 1.60)
Expand Down Expand Up @@ -143,7 +148,7 @@ GEM
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-github-metadata (2.13.0)
jekyll-github-metadata (2.14.0)
jekyll (>= 3.4, < 5.0)
octokit (~> 4.0, != 4.4.0)
jekyll-include-cache (0.2.1)
Expand Down Expand Up @@ -285,8 +290,9 @@ PLATFORMS

DEPENDENCIES
execjs (= 2.7.0)
github-pages
github-pages!
jekyll-autoprefixer
jekyll-github-metadata
jekyll-paginate-v2

RUBY VERSION
Expand Down
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,22 @@ update: $(PROJECT_DEPS)
$(BUNDLE) update
$(YARN) upgrade

include-submodule-deps:
git submodule update --init --recursive
git submodule update --remote

include-yarn-deps:
mkdir -p $(VENDOR_DIR)
cp node_modules/jquery/dist/jquery.min.js $(VENDOR_DIR)
cp node_modules/popper.js/dist/umd/popper.min.js $(VENDOR_DIR)
cp node_modules/bootstrap/dist/js/bootstrap.min.js $(VENDOR_DIR)
cp node_modules/anchor-js/anchor.min.js $(VENDOR_DIR)

build: install include-yarn-deps
build: install include-yarn-deps include-submodule-deps
$(JEKYLL) build --config _config.yml

serve: install include-yarn-deps
serve: install include-yarn-deps include-submodule-deps
JEKYLL_ENV=development $(JEKYLL) serve --incremental --config _config.yml

build_deploy: include-yarn-deps
build_deploy: include-yarn-deps include-submodule-deps
JEKYLL_ENV=production $(JEKYLL) build
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ plugins:
- jekyll-redirect-from
- jekyll-autoprefixer
- jekyll-feed
- jekyll-github-metadata
sass:
load_paths:
- _sass
- node_modules
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]
include: [.nojekyll, CNAME, _static, _images, _modules, _sources, _tensor_str.html, _utils.html]
keep_files: [vendor/assets, docs/master/_static/js/vendor/]
github: [metadata]
repository: PyTorchKorea/pytorch.kr
external_urls:
org_www: https://pytorch.org
org_docs: https://pytorch.org/docs
Expand Down
43 changes: 43 additions & 0 deletions _sass/features.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,46 @@
}
}
}

.contributors {
margin-top: 50px;
@include desktop {
margin-top: 20px;
}

h2 {
a {
margin-top: 30px;
font-size: rem(40px);
font-weight: 600;
}
}

ul {
li {
padding-top: rem(10px);
font-size: rem(23px);
}
}

.contributor-card {
border: none;
overflow: hidden;
text-align: center;

img {
width: 130px;
min-width: 100px;
border: none;
border-radius: 50%;
}

p.card-summary {
margin-top: 10px;
text-align: center;
font-size: rem(20px);
overflow: hidden;
color: $not_quite_black;
}
}
}
49 changes: 49 additions & 0 deletions contributors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
layout: default
title: 기여자 소개
permalink: about/contributors
background-class: coc-background
body-class: features
---

<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1>기여해주신 분들</h1>
<p class="lead">
파이토치 한국 사용자 모임은 많은 분들의 자발적인 기여로 성장하고 있습니다. <br />
기여해주신 분들을 아래에서 만나보실 수 있습니다.
</p>
</div>
</div>

<div class="main-content-wrapper">
<div class="main-content">
<div class="container contributors">
{% for repository in site.github.public_repositories %}
{% if repository.contributors.size > 1 %}
<h2><a href="{{ repository.html_url }}" target="_blank">{{ repository.name }} 저장소</a></h2>
<ul>
{% if repository.description.size >= 1 %}
<li><b>소개</b>: {{ repository.description }}</li>
{% endif %}
<li><b>기여해주신 분들</b>: </li>
<div class="row">
{% for contributor in repository.contributors %}
<div class="col-xl-2 col-lg-3 col-md-4 col-sm-6 col-12">
<div class="card contributor-card">
<div class="card-body">
<a href="{{ contributor.html_url }}" target="_blank">
<img src="{{ contributor.avatar_url }}" />
<p class="card-summary">@{{ contributor.login }}</p>
</a>
</div>
</div>
</div>
{% endfor %}
</div>
</ul>
{% endif %}
{% endfor %}
</div>
</div>
</div>