hanna-nouveau 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/hanna-nouveau.gemspec +78 -0
- data/lib/{hanna → hanna-nouveau}/template_files/class_index.haml +0 -0
- data/lib/{hanna → hanna-nouveau}/template_files/file_index.haml +0 -0
- data/lib/{hanna → hanna-nouveau}/template_files/index.haml +0 -0
- data/lib/{hanna → hanna-nouveau}/template_files/layout.haml +0 -0
- data/lib/{hanna → hanna-nouveau}/template_files/method_index.haml +0 -0
- data/lib/{hanna → hanna-nouveau}/template_files/method_list.haml +1 -1
- data/lib/{hanna → hanna-nouveau}/template_files/method_search.js +0 -0
- data/lib/{hanna → hanna-nouveau}/template_files/page.haml +0 -0
- data/lib/{hanna → hanna-nouveau}/template_files/prototype-1.6.0.3.js +0 -0
- data/lib/{hanna → hanna-nouveau}/template_files/sections.haml +0 -0
- data/lib/hanna-nouveau/template_files/styles.sass +355 -0
- data/lib/{hanna.rb → hanna-nouveau.rb} +1 -10
- data/lib/rdoc/discover.rb +1 -1
- metadata +16 -16
- data/hanna.gemspec +0 -21
- data/lib/hanna/template_files/styles.sass +0 -364
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{hanna-nouveau}
|
8
|
+
s.version = "0.2.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Erik Hollensbe"]
|
12
|
+
s.date = %q{2010-12-23}
|
13
|
+
s.description = %q{}
|
14
|
+
s.email = %q{erik@hollensbe.org}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
"Gemfile",
|
21
|
+
"Gemfile.lock",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"hanna-nouveau.gemspec",
|
27
|
+
"lib/hanna-nouveau.rb",
|
28
|
+
"lib/hanna-nouveau/template_files/class_index.haml",
|
29
|
+
"lib/hanna-nouveau/template_files/file_index.haml",
|
30
|
+
"lib/hanna-nouveau/template_files/index.haml",
|
31
|
+
"lib/hanna-nouveau/template_files/layout.haml",
|
32
|
+
"lib/hanna-nouveau/template_files/method_index.haml",
|
33
|
+
"lib/hanna-nouveau/template_files/method_list.haml",
|
34
|
+
"lib/hanna-nouveau/template_files/method_search.js",
|
35
|
+
"lib/hanna-nouveau/template_files/page.haml",
|
36
|
+
"lib/hanna-nouveau/template_files/prototype-1.6.0.3.js",
|
37
|
+
"lib/hanna-nouveau/template_files/sections.haml",
|
38
|
+
"lib/hanna-nouveau/template_files/styles.sass",
|
39
|
+
"lib/rdoc/discover.rb"
|
40
|
+
]
|
41
|
+
s.homepage = %q{http://github.com/erikh/hanna-nouveau}
|
42
|
+
s.licenses = ["MIT"]
|
43
|
+
s.require_paths = ["lib"]
|
44
|
+
s.rubygems_version = %q{1.3.7}
|
45
|
+
s.summary = %q{A rework of the Hanna generator for RDoc 2.5 and 3.0}
|
46
|
+
|
47
|
+
if s.respond_to? :specification_version then
|
48
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
49
|
+
s.specification_version = 3
|
50
|
+
|
51
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
52
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
53
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
|
54
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
55
|
+
s.add_runtime_dependency(%q<haml>, [">= 0"])
|
56
|
+
s.add_runtime_dependency(%q<rdoc>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
58
|
+
s.add_development_dependency(%q<rake>, [">= 0"])
|
59
|
+
else
|
60
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
61
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
62
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
63
|
+
s.add_dependency(%q<haml>, [">= 0"])
|
64
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
65
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
66
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
67
|
+
end
|
68
|
+
else
|
69
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
70
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
71
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
72
|
+
s.add_dependency(%q<haml>, [">= 0"])
|
73
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
74
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
75
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -3,7 +3,7 @@
|
|
3
3
|
#method-list
|
4
4
|
%h2 Methods
|
5
5
|
- %w[attr attr_accessor attr_reader attr_writer class instance].each do |type|
|
6
|
-
- RDoc::Context::VISIBILITIES.each do |vis|
|
6
|
+
- (RDoc::VISIBILITIES rescue RDoc::Context::VISIBILITIES).each do |vis|
|
7
7
|
-# FIXME ugly
|
8
8
|
- list = methods.reject { |x| x.respond_to?(:is_alias_for) && x.is_alias_for }.select { |x| x.visibility == vis && x.type == type.to_s }
|
9
9
|
- unless list.empty?
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,355 @@
|
|
1
|
+
$title_font: Georgia, serif
|
2
|
+
$body_font: unquote("Lucida Grande"), Verdana, Arial, Helvetica, sans-serif
|
3
|
+
$code_font_family: Monaco, unquote("DejaVu Sans Mono"), unquote("Bitstream Vera Sans Mono"), unquote("Courier New"), monospace
|
4
|
+
$code_font_size: 14px
|
5
|
+
$code_font: $code_font_size $code_font_family
|
6
|
+
|
7
|
+
$light_link: #336699
|
8
|
+
$link: $light_link - 40
|
9
|
+
$light_text: #666666
|
10
|
+
$dark_blue_text: #0e3062
|
11
|
+
|
12
|
+
html, body
|
13
|
+
height: 100%
|
14
|
+
|
15
|
+
body
|
16
|
+
font-family: $body_font
|
17
|
+
font-size: 90%
|
18
|
+
margin: 0
|
19
|
+
padding: 0
|
20
|
+
background: white
|
21
|
+
color: black
|
22
|
+
|
23
|
+
#wrapper
|
24
|
+
min-height: 100%
|
25
|
+
height: auto !important
|
26
|
+
height: 100%
|
27
|
+
margin: 0 auto -43px
|
28
|
+
|
29
|
+
#footer-push
|
30
|
+
height: 43px
|
31
|
+
|
32
|
+
div.header, #footer
|
33
|
+
background: #eeeeee
|
34
|
+
|
35
|
+
#footer
|
36
|
+
border-top: 1px solid silver
|
37
|
+
margin-top: 12px
|
38
|
+
padding: 0 2em
|
39
|
+
line-height: 30px
|
40
|
+
text-align: center
|
41
|
+
font-variant: small-caps
|
42
|
+
font-size: 95%
|
43
|
+
|
44
|
+
// self-clearing
|
45
|
+
.clearing
|
46
|
+
&:after
|
47
|
+
content: "."
|
48
|
+
visibility: hidden
|
49
|
+
height: 0
|
50
|
+
display: block
|
51
|
+
clear: both
|
52
|
+
* html &
|
53
|
+
height: 1px
|
54
|
+
*:first-child + html
|
55
|
+
overflow: hidden
|
56
|
+
|
57
|
+
h1, h2, h3, h4, h5, h6
|
58
|
+
margin: 0
|
59
|
+
font-weight: normal
|
60
|
+
|
61
|
+
a
|
62
|
+
color: $link
|
63
|
+
&:hover
|
64
|
+
background: $light_link
|
65
|
+
text-decoration: none
|
66
|
+
color: #eeeeff
|
67
|
+
|
68
|
+
#diagram
|
69
|
+
img
|
70
|
+
border: 0
|
71
|
+
|
72
|
+
#description, .method .description, .header
|
73
|
+
a
|
74
|
+
color: $light_link
|
75
|
+
&:hover
|
76
|
+
color: #eeeeee
|
77
|
+
h1, h2, h3, h4, h5, h6
|
78
|
+
a
|
79
|
+
color: $link
|
80
|
+
|
81
|
+
ol
|
82
|
+
margin: 0
|
83
|
+
padding: 0
|
84
|
+
list-style: none
|
85
|
+
li
|
86
|
+
margin-left: 0
|
87
|
+
white-space: nowrap
|
88
|
+
&.other
|
89
|
+
display: none
|
90
|
+
|
91
|
+
ol.expanded li.other
|
92
|
+
display: list-item
|
93
|
+
|
94
|
+
table
|
95
|
+
margin-bottom: 1em
|
96
|
+
font-size: 1em
|
97
|
+
border-collapse: collapse
|
98
|
+
td, th
|
99
|
+
padding: 0.4em 0.8em
|
100
|
+
thead
|
101
|
+
background-color: #e8e8e8
|
102
|
+
th
|
103
|
+
font-variant: small-caps
|
104
|
+
color: $light_text
|
105
|
+
tr
|
106
|
+
border-bottom: 1px solid silver
|
107
|
+
|
108
|
+
#index, div.header
|
109
|
+
a.show
|
110
|
+
text-decoration: underline
|
111
|
+
font-style: italic
|
112
|
+
color: $light_text
|
113
|
+
&:after
|
114
|
+
content: " ..."
|
115
|
+
&:hover
|
116
|
+
color: black
|
117
|
+
background: #ffffee
|
118
|
+
|
119
|
+
#index
|
120
|
+
font: 85% / 1.2 Arial, Helvetica, sans-serif
|
121
|
+
a
|
122
|
+
text-decoration: none
|
123
|
+
h1
|
124
|
+
padding: 0.2em 0.5em 0.1em
|
125
|
+
background: #cccccc
|
126
|
+
font: unquote("small-caps 1.2em") $title_font
|
127
|
+
color: #333333
|
128
|
+
border-bottom: 1px solid gray
|
129
|
+
form
|
130
|
+
margin: 0
|
131
|
+
padding: 0
|
132
|
+
input
|
133
|
+
margin: 0.4em 3px 0 0.4em
|
134
|
+
width: 80%
|
135
|
+
#search.untouched
|
136
|
+
color: #777777
|
137
|
+
.clear_button
|
138
|
+
-moz-border-radius: 7px
|
139
|
+
-webkit-border-radius: 7px
|
140
|
+
background: #aaaaaa
|
141
|
+
color: white
|
142
|
+
padding: 0 5px 1px 5px
|
143
|
+
cursor: pointer
|
144
|
+
ol
|
145
|
+
padding: 0.4em 0.5em
|
146
|
+
li
|
147
|
+
white-space: nowrap
|
148
|
+
#index-entries li a
|
149
|
+
padding: 1px 2px
|
150
|
+
#index-entries.classes
|
151
|
+
font-size: 1.1em
|
152
|
+
ol
|
153
|
+
padding: 0
|
154
|
+
span.nodoc
|
155
|
+
display: none
|
156
|
+
span.nodoc, a
|
157
|
+
font-weight: bold
|
158
|
+
.parent
|
159
|
+
font-weight: normal
|
160
|
+
#index-entries.methods, #search-results.methods
|
161
|
+
li
|
162
|
+
margin-bottom: 0.2em
|
163
|
+
a
|
164
|
+
.method_name
|
165
|
+
margin-right: 0.25em
|
166
|
+
.module_name
|
167
|
+
color: #666666
|
168
|
+
&:hover .module_name
|
169
|
+
color: #dddddd
|
170
|
+
|
171
|
+
#attribute-list
|
172
|
+
.context-item-name
|
173
|
+
font-weight: bold
|
174
|
+
|
175
|
+
div.header
|
176
|
+
font-size: 80%
|
177
|
+
padding: 0.5em 2%
|
178
|
+
font-family: Arial, Helvetica, sans-serif
|
179
|
+
border-bottom: 1px solid silver
|
180
|
+
.name
|
181
|
+
font-size: 1.6em
|
182
|
+
font-family: $title_font
|
183
|
+
.type
|
184
|
+
color: $light_text
|
185
|
+
font-size: 80%
|
186
|
+
font-variant: small-caps
|
187
|
+
h1.name
|
188
|
+
font-size: 2.2em
|
189
|
+
.paths, .last-update, .parent
|
190
|
+
color: $light_text
|
191
|
+
.last-update .datetime
|
192
|
+
color: $light_text - 30
|
193
|
+
.parent
|
194
|
+
margin-top: 0.3em
|
195
|
+
strong
|
196
|
+
font-weight: normal
|
197
|
+
color: $light_text - 30
|
198
|
+
|
199
|
+
#content
|
200
|
+
padding: 12px 2%
|
201
|
+
div.class &
|
202
|
+
position: relative
|
203
|
+
width: 72%
|
204
|
+
pre, .method .synopsis
|
205
|
+
font: $code_font
|
206
|
+
pre
|
207
|
+
color: black
|
208
|
+
background: #eeeeee
|
209
|
+
border: 1px solid silver
|
210
|
+
padding: 0.5em 0.8em
|
211
|
+
overflow: auto
|
212
|
+
p, li, dl
|
213
|
+
code, tt
|
214
|
+
font: $code_font
|
215
|
+
background: #ffffe3
|
216
|
+
padding: 2px 3px
|
217
|
+
line-height: 1.4
|
218
|
+
h1, h2, h3, h4, h5, h6
|
219
|
+
code, tt
|
220
|
+
font-size: 1.1em
|
221
|
+
#text
|
222
|
+
position: relative
|
223
|
+
#description
|
224
|
+
// :max-width 60em
|
225
|
+
p
|
226
|
+
margin-top: 0.5em
|
227
|
+
h1, h2, h3, h4, h5, h6
|
228
|
+
font-family: $title_font
|
229
|
+
h1
|
230
|
+
font-size: 2.2em
|
231
|
+
margin-bottom: 0.2em
|
232
|
+
border-bottom: 3px double #d8d8d8
|
233
|
+
padding-bottom: 0.1em
|
234
|
+
h2
|
235
|
+
font-size: 1.8em
|
236
|
+
color: $dark_blue_text
|
237
|
+
margin: 0.8em 0 0.3em 0
|
238
|
+
h3
|
239
|
+
font-size: 1.6em
|
240
|
+
margin: 0.8em 0 0.3em 0
|
241
|
+
color: $light_text
|
242
|
+
h4
|
243
|
+
font-size: 1.4em
|
244
|
+
margin: 0.8em 0 0.3em 0
|
245
|
+
h5
|
246
|
+
font-size: 1.2em
|
247
|
+
margin: 0.8em 0 0.3em 0
|
248
|
+
color: $dark_blue_text
|
249
|
+
h6
|
250
|
+
font-size: 1em
|
251
|
+
margin: 0.8em 0 0.3em 0
|
252
|
+
color: $light_text
|
253
|
+
#description, .method .description
|
254
|
+
ul, ol
|
255
|
+
margin: 0.8em 0
|
256
|
+
padding-left: 1.5em
|
257
|
+
ol
|
258
|
+
list-style: decimal
|
259
|
+
li
|
260
|
+
white-space: normal
|
261
|
+
|
262
|
+
#method-list
|
263
|
+
position: absolute
|
264
|
+
top: 0px
|
265
|
+
right: -33%
|
266
|
+
width: 28%
|
267
|
+
background: #eeeeee
|
268
|
+
border: 1px solid silver
|
269
|
+
padding: 0.4em 1%
|
270
|
+
overflow: hidden
|
271
|
+
h2
|
272
|
+
font-size: 1.3em
|
273
|
+
h3
|
274
|
+
font-variant: small-caps
|
275
|
+
text-transform: capitalize
|
276
|
+
font-family: $title_font
|
277
|
+
color: #666666
|
278
|
+
font-size: 1.1em
|
279
|
+
ol
|
280
|
+
padding: 0 0 0.5em 0.5em
|
281
|
+
|
282
|
+
#context
|
283
|
+
border-top: 1px dashed silver
|
284
|
+
margin-top: 1em
|
285
|
+
margin-bottom: 1em
|
286
|
+
|
287
|
+
#context, #section
|
288
|
+
h2
|
289
|
+
font: unquote("small-caps 1.2em") $title_font
|
290
|
+
color: #444444
|
291
|
+
margin: 1em 0 0.2em 0
|
292
|
+
|
293
|
+
#methods
|
294
|
+
.method
|
295
|
+
border: 1px solid silver
|
296
|
+
margin-top: 0.5em
|
297
|
+
background: #eeeeee
|
298
|
+
.synopsis
|
299
|
+
color: black
|
300
|
+
background: silver
|
301
|
+
padding: 0.2em 1em
|
302
|
+
.name
|
303
|
+
font-weight: bold
|
304
|
+
a
|
305
|
+
text-decoration: none
|
306
|
+
.description
|
307
|
+
padding: 0 1em
|
308
|
+
pre
|
309
|
+
background: #f8f8f8
|
310
|
+
.source
|
311
|
+
margin: 0.5em 0
|
312
|
+
.source-toggle
|
313
|
+
font-size: 85%
|
314
|
+
margin-left: 1em
|
315
|
+
.public-class
|
316
|
+
background: #ffffe4
|
317
|
+
.public-instance .synopsis
|
318
|
+
color: #eeeeee
|
319
|
+
background: $light_link
|
320
|
+
|
321
|
+
#content .method .source pre
|
322
|
+
background: #262626
|
323
|
+
color: #ffdead
|
324
|
+
margin: 1em
|
325
|
+
padding: 0.5em
|
326
|
+
border: 1px dashed #999999
|
327
|
+
overflow: auto
|
328
|
+
.ruby-constant
|
329
|
+
color: #7fffd4
|
330
|
+
background: transparent
|
331
|
+
.ruby-keyword
|
332
|
+
color: aqua
|
333
|
+
background: transparent
|
334
|
+
.ruby-ivar
|
335
|
+
color: #eedd82
|
336
|
+
background: transparent
|
337
|
+
.ruby-operator
|
338
|
+
color: #00ffee
|
339
|
+
background: transparent
|
340
|
+
.ruby-identifier
|
341
|
+
color: #ffdead
|
342
|
+
background: transparent
|
343
|
+
.ruby-node
|
344
|
+
color: #ffa07a
|
345
|
+
background: transparent
|
346
|
+
.ruby-comment
|
347
|
+
color: #b22222
|
348
|
+
font-weight: bold
|
349
|
+
background: transparent
|
350
|
+
.ruby-regexp
|
351
|
+
color: #ffa07a
|
352
|
+
background: transparent
|
353
|
+
.ruby-value
|
354
|
+
color: #7fffd4
|
355
|
+
background: transparent
|
@@ -11,21 +11,12 @@
|
|
11
11
|
# Tony Strauss (http://github.com/DesigningPatterns)
|
12
12
|
# Michael Granger <ged@FaerieMUD.org>, who had maintained the original RDoc template
|
13
13
|
|
14
|
-
module Hanna
|
15
|
-
VERSION = '0.1.13'
|
16
|
-
end
|
17
|
-
|
18
14
|
require 'pathname'
|
19
15
|
require 'haml'
|
20
16
|
require 'sass'
|
21
17
|
require 'rdoc/rdoc'
|
22
18
|
require 'rdoc/generator'
|
23
19
|
|
24
|
-
module RDoc #:nodoc:
|
25
|
-
module Generator #:nodoc:
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
20
|
class RDoc::Generator::Hanna
|
30
21
|
STYLE = 'styles.sass'
|
31
22
|
LAYOUT = 'layout.haml'
|
@@ -59,7 +50,7 @@ class RDoc::Generator::Hanna
|
|
59
50
|
def initialize( options )
|
60
51
|
@options = options
|
61
52
|
|
62
|
-
@templatedir = Pathname.new File.expand_path('../hanna/template_files', __FILE__)
|
53
|
+
@templatedir = Pathname.new File.expand_path('../hanna-nouveau/template_files', __FILE__)
|
63
54
|
|
64
55
|
@files = nil
|
65
56
|
@classes = nil
|
data/lib/rdoc/discover.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require 'hanna'
|
1
|
+
require 'hanna-nouveau'
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Erik Hollensbe
|
@@ -128,19 +128,19 @@ files:
|
|
128
128
|
- README.rdoc
|
129
129
|
- Rakefile
|
130
130
|
- VERSION
|
131
|
-
- hanna.gemspec
|
132
|
-
- lib/hanna.rb
|
133
|
-
- lib/hanna/template_files/class_index.haml
|
134
|
-
- lib/hanna/template_files/file_index.haml
|
135
|
-
- lib/hanna/template_files/index.haml
|
136
|
-
- lib/hanna/template_files/layout.haml
|
137
|
-
- lib/hanna/template_files/method_index.haml
|
138
|
-
- lib/hanna/template_files/method_list.haml
|
139
|
-
- lib/hanna/template_files/method_search.js
|
140
|
-
- lib/hanna/template_files/page.haml
|
141
|
-
- lib/hanna/template_files/prototype-1.6.0.3.js
|
142
|
-
- lib/hanna/template_files/sections.haml
|
143
|
-
- lib/hanna/template_files/styles.sass
|
131
|
+
- hanna-nouveau.gemspec
|
132
|
+
- lib/hanna-nouveau.rb
|
133
|
+
- lib/hanna-nouveau/template_files/class_index.haml
|
134
|
+
- lib/hanna-nouveau/template_files/file_index.haml
|
135
|
+
- lib/hanna-nouveau/template_files/index.haml
|
136
|
+
- lib/hanna-nouveau/template_files/layout.haml
|
137
|
+
- lib/hanna-nouveau/template_files/method_index.haml
|
138
|
+
- lib/hanna-nouveau/template_files/method_list.haml
|
139
|
+
- lib/hanna-nouveau/template_files/method_search.js
|
140
|
+
- lib/hanna-nouveau/template_files/page.haml
|
141
|
+
- lib/hanna-nouveau/template_files/prototype-1.6.0.3.js
|
142
|
+
- lib/hanna-nouveau/template_files/sections.haml
|
143
|
+
- lib/hanna-nouveau/template_files/styles.sass
|
144
144
|
- lib/rdoc/discover.rb
|
145
145
|
has_rdoc: true
|
146
146
|
homepage: http://github.com/erikh/hanna-nouveau
|
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
hash:
|
159
|
+
hash: 1346323380456454675
|
160
160
|
segments:
|
161
161
|
- 0
|
162
162
|
version: "0"
|
data/hanna.gemspec
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |gem|
|
2
|
-
gem.name = 'hanna'
|
3
|
-
gem.version = eval(File.read('lib/hanna.rb')[/^\s+VERSION\s+=\s+(.*)$/, 1])
|
4
|
-
gem.date = Time.now.strftime('%Y-%m-%d')
|
5
|
-
|
6
|
-
gem.summary = "An RDoc template that scales"
|
7
|
-
gem.description = "Hanna is an RDoc implemented in Haml, making its source clean and maintainable. It's built with simplicity, beauty and ease of browsing in mind."
|
8
|
-
|
9
|
-
gem.files = Dir['Rakefile', 'lib/**/*', 'README*', 'LICENSE*']
|
10
|
-
|
11
|
-
gem.add_dependency 'rdoc', '~> 2.5.9'
|
12
|
-
gem.add_dependency 'haml', '~> 2.2.8'
|
13
|
-
gem.add_dependency 'rake', '~> 0.8.2'
|
14
|
-
|
15
|
-
gem.email = 'mislav.marohnic@gmail.com'
|
16
|
-
gem.homepage = 'http://github.com/mislav/' + gem.name
|
17
|
-
gem.authors = ['Mislav Marohnić']
|
18
|
-
|
19
|
-
gem.has_rdoc = false
|
20
|
-
gem.rubyforge_project = nil
|
21
|
-
end
|
@@ -1,364 +0,0 @@
|
|
1
|
-
!title_font = "Georgia", "serif"
|
2
|
-
!body_font = "Lucida Grande", "Verdana", "Arial", "Helvetica", "sans-serif"
|
3
|
-
!code_font_family = "Monaco", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", "monospace"
|
4
|
-
!code_font_size = 14px
|
5
|
-
!code_font = !code_font_size !code_font_family
|
6
|
-
|
7
|
-
!light_link = #369
|
8
|
-
!link = !light_link - 40
|
9
|
-
!light_text = #666
|
10
|
-
!dark_blue_text = #0E3062
|
11
|
-
|
12
|
-
html, body
|
13
|
-
:height 100%
|
14
|
-
body
|
15
|
-
:font-family = !body_font
|
16
|
-
:font-size 90%
|
17
|
-
:margin 0
|
18
|
-
:padding 0
|
19
|
-
:background white
|
20
|
-
:color black
|
21
|
-
|
22
|
-
#wrapper
|
23
|
-
:min-height 100%
|
24
|
-
:height auto !important
|
25
|
-
:height 100%
|
26
|
-
:margin 0 auto -43px
|
27
|
-
#footer-push
|
28
|
-
:height 43px
|
29
|
-
div.header, #footer
|
30
|
-
:background #eee
|
31
|
-
#footer
|
32
|
-
:border-top 1px solid silver
|
33
|
-
:margin-top 12px
|
34
|
-
:padding 0 2em
|
35
|
-
:line-height 30px
|
36
|
-
:text-align center
|
37
|
-
:font-variant small-caps
|
38
|
-
:font-size 95%
|
39
|
-
|
40
|
-
// self-clearing
|
41
|
-
.clearing
|
42
|
-
&:after
|
43
|
-
:content "."
|
44
|
-
:visibility hidden
|
45
|
-
:height 0
|
46
|
-
:display block
|
47
|
-
:clear both
|
48
|
-
* html &
|
49
|
-
:height 1px
|
50
|
-
*:first-child + html
|
51
|
-
:overflow hidden
|
52
|
-
|
53
|
-
h1, h2, h3, h4, h5, h6
|
54
|
-
:margin 0
|
55
|
-
:font-weight normal
|
56
|
-
|
57
|
-
a
|
58
|
-
:color = !link
|
59
|
-
&:hover
|
60
|
-
:background = !light_link
|
61
|
-
:text-decoration none
|
62
|
-
:color #eef
|
63
|
-
|
64
|
-
#diagram
|
65
|
-
img
|
66
|
-
:border = 0
|
67
|
-
|
68
|
-
#description, .method .description, .header
|
69
|
-
a
|
70
|
-
:color = !light_link
|
71
|
-
&:hover
|
72
|
-
:color #eee
|
73
|
-
h1, h2, h3, h4, h5, h6
|
74
|
-
a
|
75
|
-
:color = !link
|
76
|
-
|
77
|
-
ol
|
78
|
-
:margin 0
|
79
|
-
:padding 0
|
80
|
-
:list-style none
|
81
|
-
li
|
82
|
-
:margin-left 0
|
83
|
-
:white-space nowrap
|
84
|
-
&.other
|
85
|
-
:display none
|
86
|
-
ol.expanded li.other
|
87
|
-
:display list-item
|
88
|
-
|
89
|
-
table
|
90
|
-
:margin-bottom 1em
|
91
|
-
:font-size 1em
|
92
|
-
:border-collapse collapse
|
93
|
-
td, th
|
94
|
-
:padding .4em .8em
|
95
|
-
thead
|
96
|
-
:background-color #e8e8e8
|
97
|
-
th
|
98
|
-
:font-variant small-caps
|
99
|
-
:color = !light_text
|
100
|
-
tr
|
101
|
-
:border-bottom 1px solid silver
|
102
|
-
|
103
|
-
#index, div.header
|
104
|
-
a.show
|
105
|
-
:text-decoration underline
|
106
|
-
:font-style italic
|
107
|
-
:color = !light_text
|
108
|
-
&:after
|
109
|
-
:content " ..."
|
110
|
-
&:hover
|
111
|
-
:color black
|
112
|
-
:background #ffe
|
113
|
-
|
114
|
-
#index
|
115
|
-
:font 85%/1.2 Arial, Helvetica, sans-serif
|
116
|
-
a
|
117
|
-
:text-decoration none
|
118
|
-
h1
|
119
|
-
:padding .2em .5em .1em
|
120
|
-
:background #ccc
|
121
|
-
:font = "small-caps 1.2em" !title_font
|
122
|
-
:color #333
|
123
|
-
:border-bottom 1px solid gray
|
124
|
-
form
|
125
|
-
:margin 0
|
126
|
-
:padding 0
|
127
|
-
input
|
128
|
-
:margin .4em 3px 0 .4em
|
129
|
-
:width 80%
|
130
|
-
#search.untouched
|
131
|
-
:color #777777
|
132
|
-
.clear_button
|
133
|
-
:-moz-border-radius 7px
|
134
|
-
:-webkit-border-radius 7px
|
135
|
-
:background #AAA
|
136
|
-
:color white
|
137
|
-
:padding 0 5px 1px 5px
|
138
|
-
:cursor pointer
|
139
|
-
ol
|
140
|
-
:padding .4em .5em
|
141
|
-
li
|
142
|
-
:white-space nowrap
|
143
|
-
#index-entries li a
|
144
|
-
:padding 1px 2px
|
145
|
-
#index-entries.classes
|
146
|
-
:font-size 1.1em
|
147
|
-
ol
|
148
|
-
:padding 0
|
149
|
-
span.nodoc
|
150
|
-
:display none
|
151
|
-
span.nodoc, a
|
152
|
-
:font-weight bold
|
153
|
-
.parent
|
154
|
-
:font-weight normal
|
155
|
-
#index-entries.methods, #search-results.methods
|
156
|
-
li
|
157
|
-
:margin-bottom 0.2em
|
158
|
-
a
|
159
|
-
.method_name
|
160
|
-
:margin-right 0.25em
|
161
|
-
.module_name
|
162
|
-
:color #666666
|
163
|
-
&:hover .module_name
|
164
|
-
:color #ddd
|
165
|
-
|
166
|
-
|
167
|
-
#attribute-list
|
168
|
-
.context-item-name
|
169
|
-
:font-weight bold
|
170
|
-
|
171
|
-
div.header
|
172
|
-
:font-size 80%
|
173
|
-
:padding .5em 2%
|
174
|
-
:font-family Arial, Helvetica, sans-serif
|
175
|
-
:border-bottom 1px solid silver
|
176
|
-
.name
|
177
|
-
:font-size 1.6em
|
178
|
-
:font-family = !title_font
|
179
|
-
.type
|
180
|
-
:color = !light_text
|
181
|
-
:font-size 80%
|
182
|
-
:font-variant small-caps
|
183
|
-
h1.name
|
184
|
-
:font-size 2.2em
|
185
|
-
.paths, .last-update, .parent
|
186
|
-
:color = !light_text
|
187
|
-
.last-update .datetime
|
188
|
-
:color = !light_text - 30
|
189
|
-
.parent
|
190
|
-
:margin-top .3em
|
191
|
-
strong
|
192
|
-
:font-weight normal
|
193
|
-
:color = !light_text - 30
|
194
|
-
|
195
|
-
#content
|
196
|
-
:padding 12px 2%
|
197
|
-
div.class &
|
198
|
-
:position relative
|
199
|
-
:width 72%
|
200
|
-
|
201
|
-
pre, .method .synopsis
|
202
|
-
:font = !code_font
|
203
|
-
pre
|
204
|
-
:color black
|
205
|
-
:background #eee
|
206
|
-
:border 1px solid silver
|
207
|
-
:padding .5em .8em
|
208
|
-
:overflow auto
|
209
|
-
p, li, dl
|
210
|
-
code, tt
|
211
|
-
:font = !code_font
|
212
|
-
:background #ffffe3
|
213
|
-
:padding 2px 3px
|
214
|
-
:line-height 1.4
|
215
|
-
h1, h2, h3, h4, h5, h6
|
216
|
-
code, tt
|
217
|
-
:font-size 1.1em
|
218
|
-
|
219
|
-
#text
|
220
|
-
:position relative
|
221
|
-
|
222
|
-
#description
|
223
|
-
// :max-width 60em
|
224
|
-
p
|
225
|
-
:margin-top .5em
|
226
|
-
h1, h2, h3, h4, h5, h6
|
227
|
-
:font-family = !title_font
|
228
|
-
h1
|
229
|
-
:font-size 2.2em
|
230
|
-
:margin-bottom .2em
|
231
|
-
:border-bottom 3px double #d8d8d8
|
232
|
-
:padding-bottom .1em
|
233
|
-
h2
|
234
|
-
:font-size 1.8em
|
235
|
-
:color = !dark_blue_text
|
236
|
-
:margin .8em 0 .3em 0
|
237
|
-
h3
|
238
|
-
:font-size 1.6em
|
239
|
-
:margin .8em 0 .3em 0
|
240
|
-
:color = !light_text
|
241
|
-
h4
|
242
|
-
:font-size 1.4em
|
243
|
-
:margin .8em 0 .3em 0
|
244
|
-
h5
|
245
|
-
:font-size 1.2em
|
246
|
-
:margin .8em 0 .3em 0
|
247
|
-
:color = !dark_blue_text
|
248
|
-
h6
|
249
|
-
:font-size 1.0em
|
250
|
-
:margin .8em 0 .3em 0
|
251
|
-
:color = !light_text
|
252
|
-
|
253
|
-
#description, .method .description
|
254
|
-
ul, ol
|
255
|
-
:margin .8em 0
|
256
|
-
:padding-left 1.5em
|
257
|
-
ol
|
258
|
-
:list-style decimal
|
259
|
-
li
|
260
|
-
:white-space normal
|
261
|
-
|
262
|
-
#method-list
|
263
|
-
:position absolute
|
264
|
-
:top 0px
|
265
|
-
:right -33%
|
266
|
-
:width 28%
|
267
|
-
:background #eee
|
268
|
-
:border 1px solid silver
|
269
|
-
:padding .4em 1%
|
270
|
-
:overflow hidden
|
271
|
-
h2
|
272
|
-
:font-size 1.3em
|
273
|
-
h3
|
274
|
-
:font-variant small-caps
|
275
|
-
:text-transform capitalize
|
276
|
-
:font-family = !title_font
|
277
|
-
:color #666
|
278
|
-
:font-size 1.1em
|
279
|
-
ol
|
280
|
-
:padding 0 0 .5em .5em
|
281
|
-
|
282
|
-
#context
|
283
|
-
:border-top 1px dashed silver
|
284
|
-
:margin-top 1em
|
285
|
-
:margin-bottom 1em
|
286
|
-
|
287
|
-
#context, #section
|
288
|
-
h2
|
289
|
-
:font = "small-caps 1.2em" !title_font
|
290
|
-
:color #444
|
291
|
-
:margin 1em 0 .2em 0
|
292
|
-
|
293
|
-
#methods
|
294
|
-
.method
|
295
|
-
:border 1px solid silver
|
296
|
-
:margin-top .5em
|
297
|
-
:background #eee
|
298
|
-
.synopsis
|
299
|
-
:color black
|
300
|
-
:background silver
|
301
|
-
:padding .2em 1em
|
302
|
-
.name
|
303
|
-
:font-weight bold
|
304
|
-
a
|
305
|
-
:text-decoration none
|
306
|
-
.description
|
307
|
-
:padding 0 1em
|
308
|
-
pre
|
309
|
-
:background #f8f8f8
|
310
|
-
.source
|
311
|
-
:margin .5em 0
|
312
|
-
.source-toggle
|
313
|
-
:font-size 85%
|
314
|
-
:margin-left 1em
|
315
|
-
.public-class
|
316
|
-
:background #ffffe4
|
317
|
-
.public-instance .synopsis
|
318
|
-
:color #eee
|
319
|
-
:background = !light_link
|
320
|
-
|
321
|
-
#content .method .source pre
|
322
|
-
:background #262626
|
323
|
-
:color #ffdead
|
324
|
-
:margin 1em
|
325
|
-
:padding 0.5em
|
326
|
-
:border 1px dashed #999
|
327
|
-
:overflow auto
|
328
|
-
|
329
|
-
.ruby-constant
|
330
|
-
:color #7fffd4
|
331
|
-
:background transparent
|
332
|
-
|
333
|
-
.ruby-keyword
|
334
|
-
:color #00ffff
|
335
|
-
:background transparent
|
336
|
-
|
337
|
-
.ruby-ivar
|
338
|
-
:color #eedd82
|
339
|
-
:background transparent
|
340
|
-
|
341
|
-
.ruby-operator
|
342
|
-
:color #00ffee
|
343
|
-
:background transparent
|
344
|
-
|
345
|
-
.ruby-identifier
|
346
|
-
:color #ffdead
|
347
|
-
:background transparent
|
348
|
-
|
349
|
-
.ruby-node
|
350
|
-
:color #ffa07a
|
351
|
-
:background transparent
|
352
|
-
|
353
|
-
.ruby-comment
|
354
|
-
:color #b22222
|
355
|
-
:font-weight bold
|
356
|
-
:background transparent
|
357
|
-
|
358
|
-
.ruby-regexp
|
359
|
-
:color #ffa07a
|
360
|
-
:background transparent
|
361
|
-
|
362
|
-
.ruby-value
|
363
|
-
:color #7fffd4
|
364
|
-
:background transparent
|