File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed
docs-template/default/layout/html Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ < meta http-equiv ="Content-Type " content ="text/html; charset= <%= charset %> " />
2
+ < title >
3
+ <%= h @page_title %>
4
+ <% if options . title && @page_title != options . title %>
5
+ — <%= h options . title %>
6
+ <% end %>
7
+ </ title >
8
+ <% stylesheets . each do |stylesheet | %>
9
+ < link rel ="stylesheet " href ="<%= url_for ( stylesheet ) . gsub ( /^[\. \/ ]*css/ , '/stylesheets/docs' ) %> " type ="text/css " charset ="utf-8 " />
10
+ <% end %>
11
+ <%= erb :script_setup %>
12
+ <% javascripts . each do |javascript | %>
13
+ < script type ="text/javascript " charset ="utf-8 " src ="<%= url_for ( javascript ) . gsub ( /^[\. \/ ]*js/ , '/javascripts/docs' ) %> "> </ script >
14
+ <% end %>
Original file line number Diff line number Diff line change
1
+ YARD ::Templates ::Engine . register_template_path Pathname . new ( File . dirname ( __FILE__ ) ) . join ( '..' , 'docs-template' )
Original file line number Diff line number Diff line change
1
+ # coding: utf-8
2
+ lib = File . expand_path ( '../lib' , __FILE__ )
3
+ $LOAD_PATH. unshift ( lib ) unless $LOAD_PATH. include? ( lib )
4
+
5
+ Gem ::Specification . new do |spec |
6
+ spec . name = "yard-rspec-docs-template"
7
+ spec . version = "0.0.1"
8
+ spec . authors = [ "Jon Rowe" ]
9
+ spec . email = [ "hello@jonrowe.co.uk" ]
10
+ spec . summary = %q{Skin for RSpec documentation in YARD}
11
+ spec . description = %q{}
12
+ spec . homepage = "https://github.com/rspec/rspec.github.io"
13
+ spec . license = "MIT"
14
+
15
+ spec . files = `git ls-files -z lib` . split ( "\x0 " )
16
+ spec . require_paths = [ "lib" ]
17
+
18
+ spec . add_dependency "yard"
19
+
20
+ spec . add_development_dependency "bundler" , "~> 1.7"
21
+ spec . add_development_dependency "rake" , "~> 10.0"
22
+ end
You can’t perform that action at this time.
0 commit comments