File tree Expand file tree Collapse file tree 4 files changed +68
-3
lines changed
Expand file tree Collapse file tree 4 files changed +68
-3
lines changed Original file line number Diff line number Diff line change 1+ source "https://rubygems.org"
2+
3+ gem "kramdown"
4+ gem "nokogiri" , '>= 1.5.9'
5+ gem "jekyll" , '>= 1.1.0'
6+ gem "rdoc" , '~> 3.9.0'
7+ gem "haml"
8+ gem "thor"
Original file line number Diff line number Diff line change 1+ GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ classifier (1.3.3 )
5+ fast-stemmer (>= 1.0.0 )
6+ colorator (0.1 )
7+ commander (4.1.5 )
8+ highline (~> 1.6.11 )
9+ directory_watcher (1.4.1 )
10+ fast-stemmer (1.0.2 )
11+ haml (4.0.3 )
12+ tilt
13+ highline (1.6.19 )
14+ jekyll (1.1.2 )
15+ classifier (~> 1.3 )
16+ colorator (~> 0.1 )
17+ commander (~> 4.1.3 )
18+ directory_watcher (~> 1.4.1 )
19+ kramdown (~> 1.0.2 )
20+ liquid (~> 2.5.1 )
21+ maruku (~> 0.5 )
22+ pygments.rb (~> 0.5.0 )
23+ redcarpet (~> 2.2.2 )
24+ safe_yaml (~> 0.7.0 )
25+ kramdown (1.0.2 )
26+ liquid (2.5.1 )
27+ maruku (0.6.1 )
28+ syntax (>= 1.0.0 )
29+ mini_portile (0.5.1 )
30+ nokogiri (1.6.0 )
31+ mini_portile (~> 0.5.0 )
32+ posix-spawn (0.3.6 )
33+ pygments.rb (0.5.2 )
34+ posix-spawn (~> 0.3.6 )
35+ yajl-ruby (~> 1.1.0 )
36+ rdoc (3.9.5 )
37+ redcarpet (2.2.2 )
38+ safe_yaml (0.7.1 )
39+ syntax (1.0.0 )
40+ thor (0.18.1 )
41+ tilt (1.4.1 )
42+ yajl-ruby (1.1.0 )
43+
44+ PLATFORMS
45+ ruby
46+
47+ DEPENDENCIES
48+ haml
49+ jekyll (>= 1.1.0 )
50+ kramdown
51+ nokogiri (>= 1.5.9 )
52+ rdoc (~> 3.9.0 )
53+ thor
Original file line number Diff line number Diff line change @@ -12,10 +12,13 @@ Grab the sources from GitHub:
1212 $ git clone git://github.com/sinatra/sinatra.github.com.git
1313 $ cd sinatra.github.com
1414
15+ Make sure you have the ` bundler ` gem installed on your machine:
16+
17+ $ gem install bundler
18+
1519Install dependencies:
1620
17- $ gem install jekyll
18- $ gem install rdoc -v 2.3.0
21+ $ bundle install
1922
2023Run the test server:
2124
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ require 'rake/clean'
33require 'rdoc'
44require 'rdoc/encoding'
55require 'rdoc/markup/to_html'
6+ require 'rdoc/options'
67require 'uri'
78require 'nokogiri'
89require 'kramdown'
@@ -131,7 +132,7 @@ contrib("_contrib/doc/%s.rdoc") { |fn| file fn => '_contrib' }
131132contrib do |fn |
132133 file "_includes/#{ fn } .html" => [ "build:contrib_docs" , "_contrib/doc/#{ fn } .rdoc" , "Rakefile" ] do |f |
133134 html =
134- RDoc ::Markup ::ToHtml . new
135+ RDoc ::Markup ::ToHtml . new ( RDoc :: Options . new )
135136 . convert ( File . read ( "_contrib/doc/#{ fn } .rdoc" ) )
136137 File . open ( f . name , 'wb' ) { |io | io . write html }
137138 end
You can’t perform that action at this time.
0 commit comments