File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ _site
2+ vendor
Original file line number Diff line number Diff line change 1+ source "https://rubygems.org"
2+ ruby '2.1.1' unless ENV [ 'DEV' ]
3+
4+ gem 'rake' , '~> 10.0'
5+ gem 'jekyll' , '>= 1.0.2'
6+ gem 'kramdown'
7+
8+ gem 'rack-jekyll'
9+ gem 'rack-rewrite'
10+ gem 'rack-protection'
Original file line number Diff line number Diff line change 1+ GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ blankslate (2.1.2.4 )
5+ classifier (1.3.4 )
6+ fast-stemmer (>= 1.0.0 )
7+ colorator (0.1 )
8+ commander (4.1.6 )
9+ highline (~> 1.6.11 )
10+ fast-stemmer (1.0.2 )
11+ ffi (1.9.3 )
12+ highline (1.6.21 )
13+ jekyll (1.5.0 )
14+ classifier (~> 1.3 )
15+ colorator (~> 0.1 )
16+ commander (~> 4.1.3 )
17+ liquid (~> 2.5.5 )
18+ listen (~> 1.3 )
19+ maruku (= 0.7.0 )
20+ pygments.rb (~> 0.5.0 )
21+ redcarpet (~> 2.3.0 )
22+ safe_yaml (~> 1.0 )
23+ toml (~> 0.1.0 )
24+ kramdown (1.3.3 )
25+ liquid (2.5.5 )
26+ listen (1.3.1 )
27+ rb-fsevent (>= 0.9.3 )
28+ rb-inotify (>= 0.9 )
29+ rb-kqueue (>= 0.2 )
30+ maruku (0.7.0 )
31+ parslet (1.5.0 )
32+ blankslate (~> 2.0 )
33+ posix-spawn (0.3.8 )
34+ pygments.rb (0.5.4 )
35+ posix-spawn (~> 0.3.6 )
36+ yajl-ruby (~> 1.1.0 )
37+ rack (1.5.2 )
38+ rack-jekyll (0.4.1 )
39+ jekyll (>= 0.12.0 , < 2.0 )
40+ rack (~> 1.5.0 )
41+ rack-protection (1.5.2 )
42+ rack
43+ rack-rewrite (1.5.0 )
44+ rake (10.2.1 )
45+ rb-fsevent (0.9.4 )
46+ rb-inotify (0.9.3 )
47+ ffi (>= 0.5.0 )
48+ rb-kqueue (0.2.2 )
49+ ffi (>= 0.5.0 )
50+ redcarpet (2.3.0 )
51+ safe_yaml (1.0.1 )
52+ toml (0.1.1 )
53+ parslet (~> 1.5.0 )
54+ yajl-ruby (1.1.0 )
55+
56+ PLATFORMS
57+ ruby
58+
59+ DEPENDENCIES
60+ jekyll (>= 1.0.2 )
61+ kramdown
62+ rack-jekyll
63+ rack-protection
64+ rack-rewrite
65+ rake (~> 10.0 )
Original file line number Diff line number Diff line change 1+ # encoding: utf-8
2+
3+ require 'rubygems'
4+
5+ begin
6+ require 'bundler/setup'
7+ rescue LoadError => e
8+ warn e . message
9+ warn "Run `gem install bundler` to install Bundler"
10+ exit -1
11+ end
12+
13+ task :default => [ :generate ]
14+
15+ desc "Generates the Jekyll site"
16+ task :generate do
17+ require 'jekyll'
18+ # workaround for LANG=C environment
19+ module Jekyll ::Convertible
20+ Encoding . default_external = Encoding ::UTF_8
21+ end
22+
23+ options = Jekyll . configuration ( { 'auto' => false , 'server' => false } )
24+ puts "Building site: #{ options [ 'source' ] } -> #{ options [ 'destination' ] } "
25+ $stdout. flush
26+ Jekyll ::Site . new ( options ) . process
27+ end
28+
29+ desc "Generates the Jekyll site and starts local server"
30+ task :preview do
31+ sh 'jekyll serve --watch'
32+ end
33+
34+ desc "Release the current commit to ruby-korea/ruby-korea.github.io@gh-pages"
35+ task :release do
36+ commit = `git rev-parse HEAD` . chomp
37+ system "mkdir -p vendor/ruby-korea.github.io"
38+ system "git clone git@github.com:ruby-korea/ruby-korea.github.io.git vendor/ruby-korea.github.io"
39+
40+ Dir . chdir "vendor/ruby-korea.github.io" do
41+ sh "git reset --hard HEAD"
42+ sh "git checkout gh-pages"
43+ sh "git pull origin gh-pages"
44+
45+ rm_rf FileList [ "*" ]
46+ cp_r FileList [ "../../_site/*" ] , "./"
47+ sh "git add -A ."
48+ sh "git commit -m 'ruby-korea/ruby-korea.github.io@#{ commit } '"
49+ sh "git push origin gh-pages"
50+ end
51+ end
Original file line number Diff line number Diff line change 1+ name : 루비 프로그래밍 언어 한글 문서
2+ markdown : redcarpet
3+ pygments : true
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ='utf-8 ' />
5+ < meta http-equiv ="X-UA-Compatible " content ="chrome=1 " />
6+ < meta name ="description " content ="Ruby 한글 문서 : " />
7+ < meta name ="viewport " content ="width=device-width ">
8+
9+ < link rel ="stylesheet " type ="text/css " media ="screen " href ="stylesheets/stylesheet.css ">
10+ < title > {{ page.title }}</ title >
11+ </ head >
12+ < body >
13+
14+ <!-- HEADER -->
15+ < div id ="header_wrap " class ="outer ">
16+ < header class ="inner ">
17+ < a id ="forkme_banner " href ="https://github.com/ruby-korea "> View on GitHub</ a >
18+
19+ < h1 id ="project_title "> {{ page.title }}</ h1 >
20+ < h2 id ="project_tagline "> </ h2 >
21+
22+ </ header >
23+ </ div >
24+ <!-- MAIN CONTENT -->
25+ < div id ="main_content_wrap " class ="outer ">
26+ < section id ="main_content " class ="inner ">
27+ {{ content }}
28+ </ section >
29+ </ div >
30+
31+ <!-- FOOTER -->
32+ < div id ="footer_wrap " class ="outer ">
33+ < footer class ="inner ">
34+ < p > Published with < a href ="http://svperstarz.github.io/jekyll-docs-ko/ "> Jekyll</ a > </ p >
35+ </ footer >
36+ </ div >
37+ </ body >
38+ </ html >
You can’t perform that action at this time.
0 commit comments