yard_klippstein_template 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest.txt CHANGED
@@ -9,5 +9,6 @@ templates/default/fulldoc/html/css/klippstein.css
9
9
  templates/default/fulldoc/html/js/klippstein.js
10
10
  templates/default/layout/html/setup.rb
11
11
  templates/default/layout/html/footer.erb
12
+ templates/default/module/html/item_summary.erb
12
13
  lib/yard_klippstein_template.rb
13
14
 
@@ -141,7 +141,10 @@
141
141
  }
142
142
 
143
143
 
144
-
144
+ /* monospace font*/
145
+ .object_link{
146
+ font-family:monospace;
147
+ }
145
148
 
146
149
 
147
150
 
@@ -0,0 +1,39 @@
1
+ <li class="<%= @item.visibility %> <%= @item.has_tag?(:deprecated) ? 'deprecated' : '' %>">
2
+ <span class="summary_signature">
3
+ <% if @item.tags(:overload).size == 1 %>
4
+ <%= signature(@item.tag(:overload), true, !@item.attr_info) %>
5
+ <% else %>
6
+ <%= signature(@item, true, false, !@item.attr_info) %>
7
+ <% end %>
8
+
9
+ <% if @item.aliases.size > 0 %>
10
+ (also: <%= @item.aliases.map {|o| h(o.name(true)) }.join(", ") %>)
11
+ <% end %>
12
+ </span>
13
+ <% if @item.has_tag?(:deprecated) %>
14
+ <span class="summary_desc"><strong>Deprecated.</strong> <%= htmlify_line @item.tag(:deprecated).text %></span>
15
+ <% else %>
16
+ <span class="summary_desc"><%= htmlify_line docstring_summary(@item) %></span>
17
+ <% end %>
18
+ <% if object != @item.namespace %>
19
+ <span class="note title not_defined_here">
20
+ <%= @item.namespace.type == :class ? 'inherited' : (@item.scope == :class ? 'extended' : 'included') %>
21
+ from <%= linkify @item, object.relative_path(@item.namespace) %>
22
+ </span>
23
+ <% end %>
24
+ <% if @item.constructor? %>
25
+ <span class="note title constructor">constructor</span>
26
+ <% end %>
27
+ <% if rw = @item.attr_info %>
28
+ <% if !run_verifier([rw[:read]].compact).empty? && run_verifier([rw[:write]].compact).empty? %>
29
+ <span class="note title readonly">readonly</span>
30
+ <% end %>
31
+ <% if !run_verifier([rw[:write]].compact).empty? && run_verifier([rw[:read]].compact).empty? %>
32
+ <span class="note title writeonly">writeonly</span>
33
+ <% end %>
34
+ <% end %>
35
+ <% if @item.visibility != :public %><span class="note title <%= @item.visibility %>"><%= @item.visibility %></span><% end %>
36
+ <% if @item.has_tag?(:abstract) %><span class="abstract note title">abstract</span><% end %>
37
+ <% if @item.has_tag?(:deprecated) %><span class="deprecated note title">deprecated</span><% end %>
38
+ <% if @item.has_tag?(:api) && @item.tag(:api).text == 'private' %><span class="private note title">private</span><% end %>
39
+ </li>
data/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  module YardKlippsteinTemplate
3
3
 
4
- VERSION = '0.0.21'
4
+ VERSION = '0.0.22'
5
5
 
6
6
  end
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard_klippstein_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-26 00:00:00.000000000 Z
12
+ date: 2012-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yard
@@ -98,6 +98,7 @@ files:
98
98
  - templates/default/fulldoc/html/js/klippstein.js
99
99
  - templates/default/layout/html/setup.rb
100
100
  - templates/default/layout/html/footer.erb
101
+ - templates/default/module/html/item_summary.erb
101
102
  - lib/yard_klippstein_template.rb
102
103
  homepage: http://bklippstein.github.com/yard_klippstein_template/index.html
103
104
  licenses: []