hanna-nouveau 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f434cf1676f5d90f9315beb89183d04b1cc1a9ee
4
- data.tar.gz: ea4ca50e5afb889eec0cca259bb7a130b422a8de
2
+ SHA256:
3
+ metadata.gz: b06d2c248f6bfa7b3363243c336ee2afae65266c8f1ec850d9de90d495b700b5
4
+ data.tar.gz: d4466ef3e8ee72d657cc6a1ed12dc0dd313c381bcf38d6067118e9fd4d33ae5b
5
5
  SHA512:
6
- metadata.gz: 9f979d5d6251fa6a963c1f1714904a7893143bbaf45d27e1e57e51ceb97e0116e6a6befd4d4bacc651ce446122fc87b73ae2de766919961426c11c861ecacb4b
7
- data.tar.gz: 3fb3569f86881ea394a654f58c362c849be3702460b4d2ff9187eae08a116ad0be9ea67fed808bf5f8f0e0d013766aea9632fa4918bc5d06c9468a1ce09eab87
6
+ metadata.gz: 7836ce96bf34ae0717899d1c685d36a69bb5e56ddadf70617ef975f2c6068c2bbb2190818474e4625ff86fa198720d712a2d000b0d58bc0f4afa548524a19add
7
+ data.tar.gz: 05a31c2b25828d11e86ba07184d97db50af219a0c0b0024d5cca85848c6ecf2fbf732f33dcb249f68f6851eb764ab898ba42cc0d0a6b3b1712941670eeb0de33
data/LICENSE CHANGED
@@ -1,5 +1,6 @@
1
1
  Copyright (c) 2009 Mislav Marohnić
2
2
  Copyright (c) 2010, 2011 Erik Hollensbe
3
+ Copyright (c) 2011-2021 Jeremy Evans
3
4
 
4
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
5
6
  this software and associated documentation files (the "Software"), to deal in
data/README.rdoc CHANGED
@@ -1,12 +1,12 @@
1
- = Hanna Nouveau — a better RDoc template, now for RDoc 4.
1
+ = Hanna-nouveau
2
2
 
3
3
  Based on the original Hanna by Mislav.
4
4
 
5
- Hanna is an RDoc generator that scales. It's implemented in Haml, making the
6
- sources clean and readable. It's built with simplicity, beauty and ease of
7
- browsing in mind.
5
+ Hanna-nouveau is an RDoc generator that scales. It's implemented in Haml,
6
+ making the sources clean and readable. It's built with simplicity, beauty
7
+ and ease of browsing in mind.
8
8
 
9
- Hanna gem is available from http://rubygems.org:
9
+ Hanna-nouveau is distributed as a ruby gem:
10
10
 
11
11
  gem install hanna-nouveau
12
12
 
@@ -24,7 +24,7 @@ has seen contributions from:
24
24
 
25
25
  == Usage
26
26
 
27
- rdoc -o doc -f hanna lib/*.rb
27
+ rdoc -o doc -f hanna lib
28
28
 
29
29
  An alternative is to set the `RDOCOPT` environment variable:
30
30
 
@@ -56,10 +56,7 @@ add the hanna format argument to your RDoc::Task options:
56
56
  gem 'rdoc'
57
57
  require 'rdoc/task'
58
58
  RDoc::Task.new do |rdoc|
59
- # this only works with RDoc 3.1 or greater
60
59
  rdoc.generator = 'hanna'
61
- # this is what you use pre RDoc 3.1:
62
- rdoc.options.push '-f', 'hanna'
63
60
  end
64
61
 
65
62
  Tip: you can do this in the Rakefile of your Rails project before running
data/Rakefile CHANGED
@@ -6,7 +6,8 @@ RDoc::Task.new do |rdoc|
6
6
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
7
7
 
8
8
  rdoc.rdoc_dir = 'rdoc'
9
+ rdoc.generator = 'hanna'
9
10
  rdoc.title = "hanna-nouveau #{version}"
10
- rdoc.options = ['-f', 'hanna']
11
- rdoc.rdoc_files.add %w"README.rdoc LICENSE lib/hanna-nouveau.rb"
11
+ rdoc.options = ['--main', 'README.rdoc', '--title', 'Hanna-nouveau: RDoc generator designed with simplicity, beauty and ease of browsing in mind']
12
+ rdoc.rdoc_files.add %w"README.rdoc LICENSE lib"
12
13
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.1.0
@@ -29,7 +29,7 @@
29
29
  - if !file_page && values[:entry].type == "class"
30
30
  .parent
31
31
  Superclass:
32
- - if values[:entry].superclass.kind_of?(String)
32
+ - if values[:entry].superclass.kind_of?(String) || !values[:entry].superclass
33
33
  %strong= values[:entry].superclass
34
34
  - else
35
35
  %strong= link_to values[:entry].superclass.name, Pathname.new(class_dir) + Pathname.new(values[:entry].superclass.path).relative_path_from(Pathname.new values[:entry].path)
@@ -70,7 +70,7 @@
70
70
  - method.call_seq.split(/\r?\n/).each do |seq|
71
71
  %div=seq
72
72
  - else
73
- %span.name= method.name
73
+ %span.name>= method.name
74
74
  %span.arguments= method.params
75
75
  -#- if method[:codeurl]
76
76
  -#%a.method-signature{ :href => method[:codeurl], :onclick => "popupCode(this.href); return false", :target => "Code" }
@@ -0,0 +1,343 @@
1
+ html, body {
2
+ height: 100%; }
3
+
4
+ body {
5
+ font-family: Lucida Grande, Verdana, Arial, Helvetica, sans-serif;
6
+ font-size: 90%;
7
+ margin: 0;
8
+ padding: 0;
9
+ background: white;
10
+ color: black; }
11
+
12
+ #wrapper {
13
+ min-height: 100%;
14
+ height: auto !important;
15
+ height: 100%;
16
+ margin: 0 auto -43px; }
17
+
18
+ #footer-push {
19
+ height: 43px; }
20
+
21
+ div.header, #footer {
22
+ background: #eeeeee; }
23
+
24
+ #footer {
25
+ border-top: 1px solid silver;
26
+ margin-top: 12px;
27
+ padding: 0 2em;
28
+ line-height: 30px;
29
+ text-align: center;
30
+ font-variant: small-caps;
31
+ font-size: 95%; }
32
+
33
+ .clearing:after {
34
+ content: ".";
35
+ visibility: hidden;
36
+ height: 0;
37
+ display: block;
38
+ clear: both; }
39
+ * html .clearing {
40
+ height: 1px; }
41
+ .clearing *:first-child + html {
42
+ overflow: hidden; }
43
+
44
+ h1, h2, h3, h4, h5, h6 {
45
+ margin: 0;
46
+ font-weight: normal; }
47
+
48
+ a {
49
+ color: #0b3e71; }
50
+ a:hover {
51
+ background: #336699;
52
+ text-decoration: none;
53
+ color: #eeeeff; }
54
+
55
+ #diagram img {
56
+ border: 0; }
57
+
58
+ #description a, .method .description a, .header a {
59
+ color: #336699; }
60
+ #description a:hover, .method .description a:hover, .header a:hover {
61
+ color: #eeeeee; }
62
+ #description h1 a, #description h2 a, #description h3 a, #description h4 a, #description h5 a, #description h6 a, .method .description h1 a, .method .description h2 a, .method .description h3 a, .method .description h4 a, .method .description h5 a, .method .description h6 a, .header h1 a, .header h2 a, .header h3 a, .header h4 a, .header h5 a, .header h6 a {
63
+ color: #0b3e71; }
64
+
65
+ ol {
66
+ margin: 0;
67
+ padding: 0;
68
+ list-style: none; }
69
+ ol li {
70
+ margin-left: 0;
71
+ white-space: nowrap; }
72
+ ol li.other {
73
+ display: none; }
74
+
75
+ ol.expanded li.other {
76
+ display: list-item; }
77
+
78
+ table {
79
+ margin-bottom: 1em;
80
+ font-size: 1em;
81
+ border-collapse: collapse; }
82
+ table td, table th {
83
+ padding: 0.4em 0.8em; }
84
+ table thead {
85
+ background-color: #e8e8e8; }
86
+ table thead th {
87
+ font-variant: small-caps;
88
+ color: #666666; }
89
+ table tr {
90
+ border-bottom: 1px solid silver; }
91
+
92
+ #index a.show, div.header a.show {
93
+ text-decoration: underline;
94
+ font-style: italic;
95
+ color: #666666; }
96
+ #index a.show:after, div.header a.show:after {
97
+ content: " ..."; }
98
+ #index a.show:hover, div.header a.show:hover {
99
+ color: black;
100
+ background: #ffffee; }
101
+
102
+ #index {
103
+ font: 85%/1.2 Arial, Helvetica, sans-serif; }
104
+ #index a {
105
+ text-decoration: none; }
106
+ #index h1 {
107
+ padding: 0.2em 0.5em 0.1em;
108
+ background: #cccccc;
109
+ font: small-caps 1.2em Georgia, serif;
110
+ color: #333333;
111
+ border-bottom: 1px solid gray; }
112
+ #index form {
113
+ margin: 0;
114
+ padding: 0; }
115
+ #index form input {
116
+ margin: 0.4em 3px 0 0.4em;
117
+ width: 80%; }
118
+ #index form #search.untouched {
119
+ color: #777777; }
120
+ #index form .clear_button {
121
+ -moz-border-radius: 7px;
122
+ -webkit-border-radius: 7px;
123
+ background: #aaaaaa;
124
+ color: white;
125
+ padding: 0 5px 1px 5px;
126
+ cursor: pointer; }
127
+ #index ol {
128
+ padding: 0.4em 0.5em; }
129
+ #index ol li {
130
+ white-space: nowrap; }
131
+ #index #index-entries li a {
132
+ padding: 1px 2px; }
133
+ #index #index-entries.classes {
134
+ font-size: 1.1em; }
135
+ #index #index-entries.classes ol {
136
+ padding: 0; }
137
+ #index #index-entries.classes span.nodoc {
138
+ display: none; }
139
+ #index #index-entries.classes span.nodoc, #index #index-entries.classes a {
140
+ font-weight: bold; }
141
+ #index #index-entries.classes .parent {
142
+ font-weight: normal; }
143
+ #index #index-entries.methods li, #index #search-results.methods li {
144
+ margin-bottom: 0.2em; }
145
+ #index #index-entries.methods li a .method_name, #index #search-results.methods li a .method_name {
146
+ margin-right: 0.25em; }
147
+ #index #index-entries.methods li a .module_name, #index #search-results.methods li a .module_name {
148
+ color: #666666; }
149
+ #index #index-entries.methods li a:hover .module_name, #index #search-results.methods li a:hover .module_name {
150
+ color: #dddddd; }
151
+
152
+ #attribute-list .context-item-name {
153
+ font-weight: bold; }
154
+
155
+ div.header {
156
+ font-size: 80%;
157
+ padding: 0.5em 2%;
158
+ font-family: Arial, Helvetica, sans-serif;
159
+ border-bottom: 1px solid silver; }
160
+ div.header .name {
161
+ font-size: 1.6em;
162
+ font-family: Georgia, serif; }
163
+ div.header .name .type {
164
+ color: #666666;
165
+ font-size: 80%;
166
+ font-variant: small-caps; }
167
+ div.header h1.name {
168
+ font-size: 2.2em; }
169
+ div.header .paths, div.header .last-update, div.header .parent {
170
+ color: #666666; }
171
+ div.header .last-update .datetime {
172
+ color: #484848; }
173
+ div.header .parent {
174
+ margin-top: 0.3em; }
175
+ div.header .parent strong {
176
+ font-weight: normal;
177
+ color: #484848; }
178
+
179
+ #content {
180
+ padding: 12px 2%; }
181
+ div.class #content {
182
+ position: relative;
183
+ width: 72%; }
184
+ #content pre, #content .method .synopsis {
185
+ font: 14px Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace; }
186
+ #content pre {
187
+ color: black;
188
+ background: #eeeeee;
189
+ border: 1px solid silver;
190
+ padding: 0.5em 0.8em;
191
+ overflow: auto; }
192
+ #content p code, #content p tt, #content li code, #content li tt, #content dl code, #content dl tt {
193
+ font: 14px Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
194
+ background: #ffffe3;
195
+ padding: 2px 3px;
196
+ line-height: 1.4; }
197
+ #content h1 code, #content h1 tt, #content h2 code, #content h2 tt, #content h3 code, #content h3 tt, #content h4 code, #content h4 tt, #content h5 code, #content h5 tt, #content h6 code, #content h6 tt {
198
+ font-size: 1.1em; }
199
+ #content #text {
200
+ position: relative; }
201
+ #content #description p {
202
+ margin-top: 0.5em; }
203
+ #content #description h1, #content #description h2, #content #description h3, #content #description h4, #content #description h5, #content #description h6 {
204
+ font-family: Georgia, serif; }
205
+ #content #description h1 {
206
+ font-size: 2.2em;
207
+ margin-bottom: 0.2em;
208
+ border-bottom: 3px double #d8d8d8;
209
+ padding-bottom: 0.1em; }
210
+ #content #description h2 {
211
+ font-size: 1.8em;
212
+ color: #0e3062;
213
+ margin: 0.8em 0 0.3em 0; }
214
+ #content #description h3 {
215
+ font-size: 1.6em;
216
+ margin: 0.8em 0 0.3em 0;
217
+ color: #666666; }
218
+ #content #description h4 {
219
+ font-size: 1.4em;
220
+ margin: 0.8em 0 0.3em 0; }
221
+ #content #description h5 {
222
+ font-size: 1.2em;
223
+ margin: 0.8em 0 0.3em 0;
224
+ color: #0e3062; }
225
+ #content #description h6 {
226
+ font-size: 1em;
227
+ margin: 0.8em 0 0.3em 0;
228
+ color: #666666; }
229
+ #content #description ul, #content #description ol, #content .method .description ul, #content .method .description ol {
230
+ margin: 0.8em 0;
231
+ padding-left: 1.5em; }
232
+ #content #description ol, #content .method .description ol {
233
+ list-style: decimal; }
234
+ #content #description ol li, #content .method .description ol li {
235
+ white-space: normal; }
236
+ #content table.rdoc-list {
237
+ border-collapse: collapse;
238
+ border-spacing: 0; }
239
+ #content table.rdoc-list tr {
240
+ background-color: white; }
241
+ #content table.rdoc-list tr:nth-child(2n) {
242
+ background-color: #f8f8f8; }
243
+ #content table.rdoc-list td.label {
244
+ font-weight: bold; }
245
+ #content table.rdoc-list td {
246
+ border: 1px solid #ddd;
247
+ padding: 6px 13px; }
248
+
249
+ #method-list {
250
+ position: absolute;
251
+ top: 0px;
252
+ right: -33%;
253
+ width: 28%;
254
+ background: #eeeeee;
255
+ border: 1px solid silver;
256
+ padding: 0.4em 1%;
257
+ overflow: hidden; }
258
+ #method-list h2 {
259
+ font-size: 1.3em; }
260
+ #method-list h3 {
261
+ font-variant: small-caps;
262
+ text-transform: capitalize;
263
+ font-family: Georgia, serif;
264
+ color: #666666;
265
+ font-size: 1.1em; }
266
+ #method-list ol {
267
+ padding: 0 0 0.5em 0.5em; }
268
+
269
+ #context {
270
+ border-top: 1px dashed silver;
271
+ margin-top: 1em;
272
+ margin-bottom: 1em; }
273
+
274
+ #context h2, #section h2 {
275
+ font: small-caps 1.2em Georgia, serif;
276
+ color: #444444;
277
+ margin: 1em 0 0.2em 0; }
278
+
279
+ #methods .method {
280
+ border: 1px solid silver;
281
+ margin-top: 0.5em;
282
+ background: #eeeeee; }
283
+ #methods .method .synopsis {
284
+ color: black;
285
+ background: silver;
286
+ padding: 0.2em 1em; }
287
+ #methods .method .synopsis .name {
288
+ font-weight: bold; }
289
+ #methods .method .synopsis a {
290
+ text-decoration: none; }
291
+ #methods .method .description {
292
+ padding: 0 1em; }
293
+ #methods .method .description pre {
294
+ background: #f8f8f8; }
295
+ #methods .method .source {
296
+ margin: 0.5em 0; }
297
+ #methods .method .source-toggle {
298
+ font-size: 85%;
299
+ margin-left: 1em; }
300
+ #methods .public-class {
301
+ background: #ffffe4; }
302
+ #methods .public-instance .synopsis {
303
+ color: #eeeeee;
304
+ background: #336699; }
305
+
306
+ #content .method .source pre, #content pre.ruby, #methods .method .description pre.ruby {
307
+ background: #262626;
308
+ color: #ffdead;
309
+ margin: 1em;
310
+ padding: 0.5em;
311
+ border: 1px dashed #999999;
312
+ overflow: auto; }
313
+ #content .method .source pre .ruby-constant, #content pre.ruby .ruby-constant, #methods .method .description pre.ruby .ruby-constant {
314
+ color: #7fffd4;
315
+ background: transparent; }
316
+ #content .method .source pre .ruby-keyword, #content pre.ruby .ruby-keyword, #methods .method .description pre.ruby .ruby-keyword {
317
+ color: aqua;
318
+ background: transparent; }
319
+ #content .method .source pre .ruby-ivar, #content pre.ruby .ruby-ivar, #methods .method .description pre.ruby .ruby-ivar {
320
+ color: #eedd82;
321
+ background: transparent; }
322
+ #content .method .source pre .ruby-operator, #content pre.ruby .ruby-operator, #methods .method .description pre.ruby .ruby-operator {
323
+ color: #00ffee;
324
+ background: transparent; }
325
+ #content .method .source pre .ruby-identifier, #content pre.ruby .ruby-identifier, #methods .method .description pre.ruby .ruby-identifier {
326
+ color: #ffdead;
327
+ background: transparent; }
328
+ #content .method .source pre .ruby-string, #content pre.ruby .ruby-string, #methods .method .description pre.ruby .ruby-string {
329
+ color: #faa;
330
+ background: transparent; }
331
+ #content .method .source pre .ruby-node, #content pre.ruby .ruby-node, #methods .method .description pre.ruby .ruby-node {
332
+ color: #ffa07a;
333
+ background: transparent; }
334
+ #content .method .source pre .ruby-comment, #content pre.ruby .ruby-comment, #methods .method .description pre.ruby .ruby-comment {
335
+ color: #fdf;
336
+ font-weight: bold;
337
+ background: transparent; }
338
+ #content .method .source pre .ruby-regexp, #content pre.ruby .ruby-regexp, #methods .method .description pre.ruby .ruby-regexp {
339
+ color: #ffa07a;
340
+ background: transparent; }
341
+ #content .method .source pre .ruby-value, #content pre.ruby .ruby-value, #methods .method .description pre.ruby .ruby-value {
342
+ color: #7fffd4;
343
+ background: transparent; }
data/lib/hanna-nouveau.rb CHANGED
@@ -13,14 +13,14 @@
13
13
 
14
14
  require 'pathname'
15
15
  require 'haml'
16
- require 'sass'
17
- require 'rdoc/rdoc'
16
+ require 'rdoc/rdoc' unless defined?(RDoc::Markup::ToHtml)
18
17
  require 'rdoc/generator'
19
18
 
20
19
  class RDoc::Markup::ToHtml
21
20
  LIST_TYPE_TO_HTML[:LABEL] = ['<table class="rdoc-list label-list"><tbody>', '</tbody></table>']
22
21
  LIST_TYPE_TO_HTML[:NOTE] = ['<table class="rdoc-list note-list"><tbody>', '</tbody></table>']
23
22
 
23
+ alias list_item_start list_item_start
24
24
  def list_item_start(list_item, list_type)
25
25
  case list_type
26
26
  when :BULLET, :LALPHA, :NUMBER, :UALPHA then
@@ -32,6 +32,7 @@ class RDoc::Markup::ToHtml
32
32
  end
33
33
  end
34
34
 
35
+ alias list_end_for list_end_for
35
36
  def list_end_for(list_type)
36
37
  case list_type
37
38
  when :BULLET, :LALPHA, :NUMBER, :UALPHA then
@@ -45,7 +46,7 @@ class RDoc::Markup::ToHtml
45
46
  end
46
47
 
47
48
  class RDoc::Generator::Hanna
48
- STYLE = 'styles.sass'
49
+ STYLE = 'styles.css'
49
50
  LAYOUT = 'layout.haml'
50
51
 
51
52
  INDEX_PAGE = 'index.haml'
@@ -116,7 +117,7 @@ class RDoc::Generator::Hanna
116
117
  FileUtils.mkdir css_dir
117
118
  end
118
119
 
119
- File.open(File.join(css_dir, 'style.css'), 'w') { |f| f << Sass::Engine.new(File.read(templjoin(STYLE))).to_css }
120
+ File.open(File.join(css_dir, 'style.css'), 'w') { |f| f << File.read(templjoin(STYLE)) }
120
121
  end
121
122
 
122
123
  # FIXME refactor
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanna-nouveau
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-10-12 00:00:00.000000000 Z
14
+ date: 2021-12-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: haml
@@ -27,35 +27,25 @@ dependencies:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '4'
30
- - !ruby/object:Gem::Dependency
31
- name: sass
32
- requirement: !ruby/object:Gem::Requirement
33
- requirements:
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: '0'
37
- type: :runtime
38
- prerelease: false
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: '0'
44
30
  - !ruby/object:Gem::Dependency
45
31
  name: rdoc
46
32
  requirement: !ruby/object:Gem::Requirement
47
33
  requirements:
48
34
  - - ">="
49
35
  - !ruby/object:Gem::Version
50
- version: '4.0'
36
+ version: '4'
51
37
  type: :runtime
52
38
  prerelease: false
53
39
  version_requirements: !ruby/object:Gem::Requirement
54
40
  requirements:
55
41
  - - ">="
56
42
  - !ruby/object:Gem::Version
57
- version: '4.0'
58
- description: ''
43
+ version: '4'
44
+ description: |
45
+ RDoc generator designed with simplicity, beauty and ease of browsing in mind
46
+
47
+ Based on the original Hanna by Mislav, with many changes so it works
48
+ on modern verions of RDoc, Haml, and Sass.
59
49
  email: code@jeremyevans.net
60
50
  executables: []
61
51
  extensions: []
@@ -63,7 +53,6 @@ extra_rdoc_files:
63
53
  - LICENSE
64
54
  - README.rdoc
65
55
  files:
66
- - Gemfile
67
56
  - LICENSE
68
57
  - README.rdoc
69
58
  - Rakefile
@@ -79,12 +68,15 @@ files:
79
68
  - lib/hanna-nouveau/template_files/page.haml
80
69
  - lib/hanna-nouveau/template_files/prototype-1.6.0.3.js
81
70
  - lib/hanna-nouveau/template_files/sections.haml
82
- - lib/hanna-nouveau/template_files/styles.sass
71
+ - lib/hanna-nouveau/template_files/styles.css
83
72
  - lib/rdoc/discover.rb
84
- homepage: https://github.com/rdoc/hanna-nouveau
73
+ homepage: https://github.com/jeremyevans/hanna-nouveau
85
74
  licenses:
86
75
  - MIT
87
- metadata: {}
76
+ metadata:
77
+ bug_tracker_uri: https://github.com/jeremyevans/hanna-nouveau/issues
78
+ mailing_list_uri: https://github.com/jeremyevans/hanna-nouveau/discussions
79
+ source_code_uri: https://github.com/jeremyevans/hanna-nouveau
88
80
  post_install_message:
89
81
  rdoc_options: []
90
82
  require_paths:
@@ -100,9 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
92
  - !ruby/object:Gem::Version
101
93
  version: '0'
102
94
  requirements: []
103
- rubyforge_project:
104
- rubygems_version: 2.6.6
95
+ rubygems_version: 3.2.32
105
96
  signing_key:
106
97
  specification_version: 4
107
- summary: A rework of the Hanna generator for RDoc 4+
98
+ summary: RDoc generator designed with simplicity, beauty and ease of browsing in mind
108
99
  test_files: []
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source "http://rubygems.org"
2
- gem 'rdoc', "~> 4.0"
3
- gem 'haml', "= 3.0.25"
@@ -1,370 +0,0 @@
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
- table.rdoc-list
262
- border-collapse: collapse
263
- border-spacing: 0
264
- tr
265
- background-color: white
266
- &:nth-child(2n)
267
- background-color: #f8f8f8
268
- td.label
269
- font-weight: bold
270
- td
271
- border: 1px solid #ddd
272
- padding: 6px 13px
273
-
274
- #method-list
275
- position: absolute
276
- top: 0px
277
- right: -33%
278
- width: 28%
279
- background: #eeeeee
280
- border: 1px solid silver
281
- padding: 0.4em 1%
282
- overflow: hidden
283
- h2
284
- font-size: 1.3em
285
- h3
286
- font-variant: small-caps
287
- text-transform: capitalize
288
- font-family: $title_font
289
- color: #666666
290
- font-size: 1.1em
291
- ol
292
- padding: 0 0 0.5em 0.5em
293
-
294
- #context
295
- border-top: 1px dashed silver
296
- margin-top: 1em
297
- margin-bottom: 1em
298
-
299
- #context, #section
300
- h2
301
- font: unquote("small-caps 1.2em") $title_font
302
- color: #444444
303
- margin: 1em 0 0.2em 0
304
-
305
- #methods
306
- .method
307
- border: 1px solid silver
308
- margin-top: 0.5em
309
- background: #eeeeee
310
- .synopsis
311
- color: black
312
- background: silver
313
- padding: 0.2em 1em
314
- .name
315
- font-weight: bold
316
- a
317
- text-decoration: none
318
- .description
319
- padding: 0 1em
320
- pre
321
- background: #f8f8f8
322
- .source
323
- margin: 0.5em 0
324
- .source-toggle
325
- font-size: 85%
326
- margin-left: 1em
327
- .public-class
328
- background: #ffffe4
329
- .public-instance .synopsis
330
- color: #eeeeee
331
- background: $light_link
332
-
333
- #content .method .source pre, #content pre.ruby, #methods .method .description pre.ruby
334
- background: #262626
335
- color: #ffdead
336
- margin: 1em
337
- padding: 0.5em
338
- border: 1px dashed #999999
339
- overflow: auto
340
- .ruby-constant
341
- color: #7fffd4
342
- background: transparent
343
- .ruby-keyword
344
- color: aqua
345
- background: transparent
346
- .ruby-ivar
347
- color: #eedd82
348
- background: transparent
349
- .ruby-operator
350
- color: #00ffee
351
- background: transparent
352
- .ruby-identifier
353
- color: #ffdead
354
- background: transparent
355
- .ruby-string
356
- color: #faa
357
- background: transparent
358
- .ruby-node
359
- color: #ffa07a
360
- background: transparent
361
- .ruby-comment
362
- color: #fdf
363
- font-weight: bold
364
- background: transparent
365
- .ruby-regexp
366
- color: #ffa07a
367
- background: transparent
368
- .ruby-value
369
- color: #7fffd4
370
- background: transparent