yard_klippstein_template 0.0.28 → 0.0.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
- <div id="subclasses">
1
+ <div class="box-additions">
2
2
  <dl class="box">
3
3
  <div class="row">
4
- <dt class="r1 last">Subclasses:</dt>
4
+ <dt class="r1 last">Subclasses</dt>
5
5
  <dd class="r1 last"><%= @subclasses.map {|name, child| linkify(child, name) }.join(", ") %></dd>
6
6
  </div>
7
7
  </dl>
@@ -3,12 +3,16 @@
3
3
  #filecontents dl.box, dl.box {
4
4
  display: table;
5
5
  border-top: 1px #c6c6c6 dotted;
6
- margin: 2px 0 5px 0;
6
+ margin: 0;
7
7
  padding-left:0px;
8
8
  width: 100%;
9
9
  }
10
10
 
11
- #filecontents dl.box div, dl.box div {
11
+ #filecontents div.box-additions dl.box, div.box-additions dl.box {
12
+ border-top: none;
13
+ }
14
+
15
+ #filecontents dl.box div.row, dl.box div.row {
12
16
  display: table-row;
13
17
  margin: 0px;
14
18
  padding: 2px 0px 2px 0px;
@@ -17,20 +21,27 @@
17
21
 
18
22
  #filecontents dl.box dt, dl.box dt {
19
23
  display: table-cell;
20
- background: none;
21
- border: 0px;
22
- padding: 1px 10px;
23
- border-bottom: 1px #c6c6c6 dotted;
24
- white-space:nowrap;
25
- font-weight: normal !important;
24
+ background: none !important;
25
+ border: 0px ;
26
+ border-bottom: 1px #c6c6c6 dotted !important;
27
+ white-space:nowrap;
28
+ font-weight: normal;
29
+ padding: 1px 10px;
30
+ width: 25%;
31
+ overflow: visible;
32
+ text-align: left;
33
+ float: none;
26
34
  }
27
35
 
28
36
  #filecontents dl.box dd, dl.box dd {
29
37
  display: table-cell;
30
- background: white;
31
- border-bottom: 1px #c6c6c6 dotted;
38
+ background: none !important;
39
+ border: 0px ;
40
+ border-bottom: 1px #c6c6c6 dotted !important;
32
41
  margin:0;
33
- padding: 1px 0px 1px 3px;
42
+ padding: 1px 0px 1px 3px;
43
+ float: none;
44
+ width: 74%;
34
45
  }
35
46
 
36
47
  /* Headlines */
@@ -163,14 +174,17 @@
163
174
  border-bottom: 1px #c6c6c6 dotted;
164
175
  white-space:nowrap;
165
176
  font-weight: normal !important;
177
+ width: 25%;
178
+ overflow: visible;
166
179
  }
167
180
 
168
181
  dl.rdoc-list dd {
169
182
  display: table-cell;
170
- background: white;
183
+ background: none;
171
184
  border-bottom: 1px #c6c6c6 dotted;
172
185
  margin:0;
173
- padding: 1px 0px 1px 3px;
186
+ padding: 1px 0px 1px 3px;
187
+ width: 74%;
174
188
  }
175
189
 
176
190
  /* bullet lists */
@@ -181,7 +195,7 @@
181
195
 
182
196
  /* monospace font*/
183
197
  .object_link{
184
- font-family:monospace;
198
+ font-family: monospace;
185
199
  }
186
200
 
187
201
 
@@ -2,7 +2,7 @@
2
2
  <dl class="box">
3
3
  <% if CodeObjects::ClassObject === object && object.superclass %>
4
4
  <div class="row">
5
- <dt class="r<%=n%>">Inherits:</dt>
5
+ <dt class="r<%=n%>">Inherits</dt>
6
6
  <dd class="r<%=n%>">
7
7
  <span class="inheritName"><%= linkify object.superclass %></span>
8
8
  <% if object.superclass.name != :BasicObject %>
@@ -21,7 +21,7 @@
21
21
  <% [[:class, "Extended by"], [:instance, "Includes"]].each do |scope, name| %>
22
22
  <% if (mix = object.mixins(scope)).size > 0 %>
23
23
  <div class="row">
24
- <dt class="r<%=n%>"><%= name %>:</dt>
24
+ <dt class="r<%=n%>"><%= name %></dt>
25
25
  <dd class="r<%=n%>"><%= mix.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %></dd>
26
26
  </div>
27
27
  <% n = n == 2 ? 1 : 2 %>
@@ -29,14 +29,14 @@
29
29
  <% end %>
30
30
  <% if (mixed_into = mixed_into(object)).size > 0 %>
31
31
  <div class="row">
32
- <dt class="r<%=n%>">Included in:</dt>
32
+ <dt class="r<%=n%>">Included in</dt>
33
33
  <dd class="r<%=n%>"><%= mixed_into.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %></dd>
34
34
  </div>
35
35
  <% n = n == 2 ? 1 : 2 %>
36
36
  <% end %>
37
37
  <% unless object.root? %>
38
38
  <div class="row">
39
- <dt class="r<%=n%> last">Defined in:</dt>
39
+ <dt class="r<%=n%> last">Defined in</dt>
40
40
  <dd class="r<%=n%> last"><%= erb(:defines) %></dd>
41
41
  </div>
42
42
  <% end %>
data/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  module YardKlippsteinTemplate
3
3
 
4
- VERSION = '0.0.28'
4
+ VERSION = '0.0.29'
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.28
4
+ version: 0.0.29
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: