yard_klippstein_template 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
data/Manifest.txt
CHANGED
@@ -16,6 +16,7 @@ templates/default/layout/html/project_header.erb
|
|
16
16
|
templates/default/layout/html/setup.rb
|
17
17
|
templates/default/module/html/box_info.erb
|
18
18
|
templates/default/module/html/children.erb
|
19
|
+
templates/default/module/html/constant_summary.erb
|
19
20
|
templates/default/module/html/item_summary.erb
|
20
21
|
templates/default/module/setup.rb
|
21
22
|
lib/yard_klippstein_template.rb
|
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
h2 {
|
82
82
|
margin: 3em 0 0.5em 0;
|
83
|
-
font-size: 1.
|
83
|
+
font-size: 1.5em;
|
84
84
|
/*border-top: 4px #EEEEEE solid;*/
|
85
85
|
border-bottom: 0px;
|
86
86
|
padding: 10px 0 3px 0; /*fuer die Linie */
|
@@ -88,7 +88,7 @@
|
|
88
88
|
|
89
89
|
.docstring h3 {
|
90
90
|
margin: 1.5em 0 0.3em 0;
|
91
|
-
font-size: 1.
|
91
|
+
font-size: 1.0em;
|
92
92
|
}
|
93
93
|
|
94
94
|
|
@@ -233,9 +233,46 @@
|
|
233
233
|
font-family: monospace;
|
234
234
|
}
|
235
235
|
|
236
|
+
/* Constants as table */
|
236
237
|
|
237
|
-
|
238
|
-
|
238
|
+
dl.constants {
|
239
|
+
display: table;
|
240
|
+
border: none !important;
|
241
|
+
border-top: 1px #c6c6c6 dotted !important;
|
242
|
+
padding-left:0px;
|
243
|
+
margin: 2px 0 5px 0;
|
244
|
+
width: 100%;
|
245
|
+
}
|
246
|
+
|
247
|
+
div.constants-dl-row {
|
248
|
+
display: table-row;
|
249
|
+
margin: 0px;
|
250
|
+
padding: 2px 0px 2px 0px;
|
251
|
+
line-height:1.5em;
|
252
|
+
}
|
253
|
+
|
254
|
+
dl.constants dt {
|
255
|
+
display: table-cell;
|
256
|
+
background: none !important;
|
257
|
+
border: 0px;
|
258
|
+
padding: 1px 10px !important;
|
259
|
+
border-bottom: 1px #c6c6c6 dotted;
|
260
|
+
white-space:nowrap;
|
261
|
+
font-weight: normal !important;
|
262
|
+
font-family: monospace;
|
263
|
+
width: 25%;
|
264
|
+
overflow: visible;
|
265
|
+
}
|
266
|
+
|
267
|
+
dl.constants dd {
|
268
|
+
display: table-cell;
|
269
|
+
background: none;
|
270
|
+
border-bottom: 1px #c6c6c6 dotted;
|
271
|
+
font-family: monospace;
|
272
|
+
margin:0 !important;
|
273
|
+
padding: 1px 0px 1px 3px !important;
|
274
|
+
width: 74%;
|
275
|
+
}
|
239
276
|
|
240
277
|
|
241
278
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<% if constant_listing.size > 0 || object.constants.size > 0 %>
|
2
|
+
<h2>Constant Summary</h2>
|
3
|
+
<% if constant_listing.size > 0 %>
|
4
|
+
<dl class="constants">
|
5
|
+
<% constant_listing.each do |cnst| %>
|
6
|
+
<div class="constants-dl-row">
|
7
|
+
<dt id="<%= anchor_for(cnst) %>" class="<%= cnst.has_tag?(:deprecated) ? 'deprecated' : '' %>"><%= cnst.name %> =
|
8
|
+
<%= yieldall :object => cnst %>
|
9
|
+
</dt>
|
10
|
+
<dd><pre class="code"><%= format_constant cnst.value %></pre></dd>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
</dl>
|
14
|
+
<% end %>
|
15
|
+
<% end %>
|
data/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.37
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- templates/default/layout/html/setup.rb
|
106
106
|
- templates/default/module/html/box_info.erb
|
107
107
|
- templates/default/module/html/children.erb
|
108
|
+
- templates/default/module/html/constant_summary.erb
|
108
109
|
- templates/default/module/html/item_summary.erb
|
109
110
|
- templates/default/module/setup.rb
|
110
111
|
- lib/yard_klippstein_template.rb
|