yard_klippstein_template 0.0.34 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,16 @@
1
1
 
2
2
  YARD::Templates::Engine.register_template_path File.dirname(__FILE__) + '/../templates'
3
3
 
4
+ # @!macro [new] project_header
5
+ # My Project Header
6
+
4
7
 
5
8
  # patch rdoc markup for table-like definition lists
6
9
  require 'rdoc'
7
10
  require 'rdoc/markup'
8
11
  require 'rdoc/markup/to_html'
9
-
12
+
13
+ # @!macro project_header
10
14
  class RDoc::Markup::ToHtml
11
15
 
12
16
  ##
@@ -13,6 +13,18 @@
13
13
  #body {
14
14
  padding: 0 20px 20px 20px;
15
15
  }
16
+
17
+ #toc {
18
+ background-color: #EEEEEE;
19
+ border: none;
20
+ }
21
+
22
+ #footer {
23
+ border-top: none;
24
+ padding: 10px 20px 10px 20px;
25
+ background-color: #EEEEEE;
26
+ margin-top: 10px;
27
+ }
16
28
 
17
29
  /* Box */
18
30
 
@@ -69,7 +81,7 @@
69
81
  h2 {
70
82
  margin: 3em 0 0.5em 0;
71
83
  font-size: 1.7em;
72
- border-top: 1px #555 solid;
84
+ /*border-top: 4px #EEEEEE solid;*/
73
85
  border-bottom: 0px;
74
86
  padding: 10px 0 3px 0; /*fuer die Linie */
75
87
  }
@@ -146,9 +158,9 @@
146
158
  }
147
159
 
148
160
  p.signature, h3.signature {
149
- background: none repeat scroll 0 0 #FAEECC;
150
- border: 0;
151
-
161
+ background: none;
162
+ border: none;
163
+ border-top: 1px #c6c6c6 dotted
152
164
  }
153
165
 
154
166
 
@@ -174,8 +186,8 @@
174
186
 
175
187
  dl.rdoc-list {
176
188
  display: table;
177
- border: none;
178
- border-top: 1px #c6c6c6 dotted;
189
+ border: none !important;
190
+ border-top: 1px #c6c6c6 dotted !important;
179
191
  padding-left:0px;
180
192
  margin: 2px 0 5px 0;
181
193
  width: 100%;
@@ -191,9 +203,9 @@
191
203
 
192
204
  dl.rdoc-list dt {
193
205
  display: table-cell;
194
- background: none;
206
+ background: none !important;
195
207
  border: 0px;
196
- padding: 1px 10px;
208
+ padding: 1px 10px !important;
197
209
  border-bottom: 1px #c6c6c6 dotted;
198
210
  white-space:nowrap;
199
211
  font-weight: normal !important;
@@ -205,8 +217,8 @@
205
217
  display: table-cell;
206
218
  background: none;
207
219
  border-bottom: 1px #c6c6c6 dotted;
208
- margin:0;
209
- padding: 1px 0px 1px 3px;
220
+ margin:0 !important;
221
+ padding: 1px 0px 1px 3px !important;
210
222
  width: 74%;
211
223
  }
212
224
 
@@ -1,3 +1,2 @@
1
1
  <div id="project-footer">
2
- Project Footer
3
2
  </div>
@@ -1,3 +1,3 @@
1
1
  <div id="project-header">
2
- Project Header
2
+ <% project_header = YARD::CodeObjects::MacroObject.find('project_header') %>
3
3
  </div>
data/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  module YardKlippsteinTemplate
3
3
 
4
- VERSION = '0.0.34'
4
+ VERSION = '0.0.35'
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.34
4
+ version: 0.0.35
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: