emerald 0.0.1.alpha1 → 0.0.1.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -1
- data/VERSION +1 -1
- data/data/stylesheets/rdoc.css +342 -0
- metadata +2 -1
data/README.rdoc
CHANGED
@@ -14,7 +14,11 @@ generator you want to use.
|
|
14
14
|
|
15
15
|
== Installation
|
16
16
|
|
17
|
-
|
17
|
+
Emerald is currently Alpha software. Use it at your own risk.
|
18
|
+
|
19
|
+
Get the current development release via RubyGems:
|
20
|
+
|
21
|
+
# gem install emerald --pre
|
18
22
|
|
19
23
|
If you want the latest version, check out the Git repisitory and build
|
20
24
|
the gem yourself:
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1-
|
1
|
+
0.0.1-alpha2
|
@@ -0,0 +1,342 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/**
|
3
|
+
* The general layout for method documentations. It
|
4
|
+
* formats a header and a description with borders all
|
5
|
+
* around it. Fore- and background colours are chosen
|
6
|
+
* by you. */
|
7
|
+
/**
|
8
|
+
* Heading mixins used for relative headings.
|
9
|
+
*/
|
10
|
+
/**
|
11
|
+
* Everything that is somehow ToC-like includes
|
12
|
+
* this mixin. */
|
13
|
+
/****************************************
|
14
|
+
* General styles
|
15
|
+
****************************************/
|
16
|
+
body {
|
17
|
+
background-color: #FEFEFE;
|
18
|
+
font-family: serif; }
|
19
|
+
|
20
|
+
h1 {
|
21
|
+
border-bottom: 1px solid gray;
|
22
|
+
color: black;
|
23
|
+
font-family: serif;
|
24
|
+
font-variant: normal;
|
25
|
+
font-weight: normal; }
|
26
|
+
|
27
|
+
h2 {
|
28
|
+
border-bottom: 1px dotted #0e3062;
|
29
|
+
color: #0e3062;
|
30
|
+
font-family: serif;
|
31
|
+
font-variant: normal;
|
32
|
+
font-weight: bold; }
|
33
|
+
|
34
|
+
h3 {
|
35
|
+
border-bottom: none;
|
36
|
+
color: gray;
|
37
|
+
font-family: serif;
|
38
|
+
font-variant: small-caps;
|
39
|
+
font-weight: normal; }
|
40
|
+
|
41
|
+
h4 {
|
42
|
+
border-bottom: none;
|
43
|
+
color: #0e3062;
|
44
|
+
font-family: sans-serif;
|
45
|
+
font-variant: normal;
|
46
|
+
font-weight: bold; }
|
47
|
+
|
48
|
+
h5 {
|
49
|
+
border-bottom: none;
|
50
|
+
color: black;
|
51
|
+
font-family: sans-serif;
|
52
|
+
font-variant: normal;
|
53
|
+
font-weight: bold; }
|
54
|
+
|
55
|
+
h6 {
|
56
|
+
border-bottom: none;
|
57
|
+
color: black;
|
58
|
+
font-family: sans-serif;
|
59
|
+
font-variant: normal;
|
60
|
+
font-weight: normal; }
|
61
|
+
|
62
|
+
a {
|
63
|
+
color: #336699; }
|
64
|
+
a:hover {
|
65
|
+
background-color: #336699;
|
66
|
+
color: white; }
|
67
|
+
|
68
|
+
dl {
|
69
|
+
border: 1px solid gray; }
|
70
|
+
dl dt {
|
71
|
+
color: white;
|
72
|
+
background-color: gray; }
|
73
|
+
|
74
|
+
/****************************************
|
75
|
+
* Common elements
|
76
|
+
****************************************/
|
77
|
+
.clear {
|
78
|
+
clear: both; }
|
79
|
+
|
80
|
+
/* The ¶ signs on headings */
|
81
|
+
a.para {
|
82
|
+
text-decoration: none;
|
83
|
+
color: gray; }
|
84
|
+
a.para:hover {
|
85
|
+
background: none;
|
86
|
+
color: gray; }
|
87
|
+
|
88
|
+
/* These spans are created by the search field */
|
89
|
+
span.search-result {
|
90
|
+
background-color: yellow; }
|
91
|
+
|
92
|
+
/********** Method docs **********/
|
93
|
+
div.method {
|
94
|
+
margin-bottom: 5px;
|
95
|
+
/* Shift headings down by 1, so that a level-2
|
96
|
+
* heading effectively becomes a level-3 one. */ }
|
97
|
+
div.method h1 {
|
98
|
+
border-bottom: 1px dotted #0e3062;
|
99
|
+
color: #0e3062;
|
100
|
+
font-family: serif;
|
101
|
+
font-variant: normal;
|
102
|
+
font-weight: bold; }
|
103
|
+
div.method h2 {
|
104
|
+
border-bottom: none;
|
105
|
+
color: gray;
|
106
|
+
font-family: serif;
|
107
|
+
font-variant: small-caps;
|
108
|
+
font-weight: normal;
|
109
|
+
font-size: 120%; }
|
110
|
+
div.method h3 {
|
111
|
+
border-bottom: none;
|
112
|
+
color: #0e3062;
|
113
|
+
font-family: sans-serif;
|
114
|
+
font-variant: normal;
|
115
|
+
font-weight: bold; }
|
116
|
+
div.method h4 {
|
117
|
+
border-bottom: none;
|
118
|
+
color: black;
|
119
|
+
font-family: sans-serif;
|
120
|
+
font-variant: normal;
|
121
|
+
font-weight: bold; }
|
122
|
+
div.method h5 {
|
123
|
+
border-bottom: none;
|
124
|
+
color: black;
|
125
|
+
font-family: sans-serif;
|
126
|
+
font-variant: normal;
|
127
|
+
font-weight: normal; }
|
128
|
+
div.method div.header {
|
129
|
+
padding-left: 4px;
|
130
|
+
padding-right: 4px;
|
131
|
+
font-family: monospace;
|
132
|
+
font-size: 120%;
|
133
|
+
font-weight: bold; }
|
134
|
+
div.method div.description {
|
135
|
+
padding-left: 4px;
|
136
|
+
padding-right: 4px; }
|
137
|
+
|
138
|
+
div.public-class {
|
139
|
+
border: 1px solid gray;
|
140
|
+
background-color: #ffffd2; }
|
141
|
+
div.public-class div.header {
|
142
|
+
border-bottom: 1px solid gray;
|
143
|
+
background-color: #eeeeee;
|
144
|
+
color: black; }
|
145
|
+
div.public-class div.description {
|
146
|
+
color: black; }
|
147
|
+
|
148
|
+
div.protected-class {
|
149
|
+
border: 1px solid #005b10;
|
150
|
+
background-color: #ddffdd; }
|
151
|
+
div.protected-class div.header {
|
152
|
+
border-bottom: 1px solid #005b10;
|
153
|
+
background-color: #7fd58e;
|
154
|
+
color: black; }
|
155
|
+
div.protected-class div.description {
|
156
|
+
color: black; }
|
157
|
+
|
158
|
+
div.private-class {
|
159
|
+
border: 1px solid lime;
|
160
|
+
background-color: black; }
|
161
|
+
div.private-class div.header {
|
162
|
+
border-bottom: 1px solid lime;
|
163
|
+
background-color: #333333;
|
164
|
+
color: lime; }
|
165
|
+
div.private-class div.description {
|
166
|
+
color: white; }
|
167
|
+
|
168
|
+
div.public-instance {
|
169
|
+
border: 1px solid blue;
|
170
|
+
background-color: #eeeeee; }
|
171
|
+
div.public-instance div.header {
|
172
|
+
border-bottom: 1px solid blue;
|
173
|
+
background-color: #336699;
|
174
|
+
color: white; }
|
175
|
+
div.public-instance div.description {
|
176
|
+
color: black; }
|
177
|
+
|
178
|
+
div.protected-instance {
|
179
|
+
border: 1px solid black;
|
180
|
+
background-color: #ddddff; }
|
181
|
+
div.protected-instance div.header {
|
182
|
+
border-bottom: 1px solid black;
|
183
|
+
background-color: #888888;
|
184
|
+
color: white; }
|
185
|
+
div.protected-instance div.description {
|
186
|
+
color: black; }
|
187
|
+
|
188
|
+
div.private-instance {
|
189
|
+
border: 1px solid yellow;
|
190
|
+
background-color: black; }
|
191
|
+
div.private-instance div.header {
|
192
|
+
border-bottom: 1px solid yellow;
|
193
|
+
background-color: #333333;
|
194
|
+
color: yellow; }
|
195
|
+
div.private-instance div.description {
|
196
|
+
color: white; }
|
197
|
+
|
198
|
+
/********** Indices **********/
|
199
|
+
div.index {
|
200
|
+
overflow: hidden; }
|
201
|
+
div.index ul {
|
202
|
+
list-style-type: none;
|
203
|
+
padding-left: 0px; }
|
204
|
+
div.index ul li {
|
205
|
+
font-size: small; }
|
206
|
+
div.index div.header {
|
207
|
+
border: 1px solid #0E3062;
|
208
|
+
background-color: #336699;
|
209
|
+
color: white;
|
210
|
+
text-align: center;
|
211
|
+
font-size: 1.5em;
|
212
|
+
font-variant: small-caps; }
|
213
|
+
div.index div.header p {
|
214
|
+
margin: 0px; }
|
215
|
+
|
216
|
+
span.method-classname {
|
217
|
+
color: gray; }
|
218
|
+
|
219
|
+
/********** Toplevel docs **********/
|
220
|
+
p.toplevel-name {
|
221
|
+
float: right;
|
222
|
+
font-size: small;
|
223
|
+
text-align: right;
|
224
|
+
color: gray; }
|
225
|
+
|
226
|
+
div.toc {
|
227
|
+
float: right;
|
228
|
+
width: 25%;
|
229
|
+
overflow: hidden;
|
230
|
+
margin-top: 4px;
|
231
|
+
margin-left: 4px;
|
232
|
+
border: 1px solid gray;
|
233
|
+
background-color: #EEEEEE; }
|
234
|
+
div.toc p {
|
235
|
+
margin: 10px 0px 0px 0px;
|
236
|
+
font-size: 120%;
|
237
|
+
font-variant: small-caps;
|
238
|
+
color: gray;
|
239
|
+
text-align: center; }
|
240
|
+
div.toc ul {
|
241
|
+
list-style-type: none;
|
242
|
+
padding-left: 20px; }
|
243
|
+
|
244
|
+
/********** Class/Module docs **********/
|
245
|
+
h1.classmodule {
|
246
|
+
border: none;
|
247
|
+
margin-bottom: 0px; }
|
248
|
+
h1.classmodule span.leader {
|
249
|
+
font-size: 80%;
|
250
|
+
font-variant: small-caps;
|
251
|
+
color: gray; }
|
252
|
+
|
253
|
+
h1.module {
|
254
|
+
border-bottom: 1px solid gray; }
|
255
|
+
|
256
|
+
p.superclass {
|
257
|
+
margin-top: 0px;
|
258
|
+
border-bottom: 1px solid gray;
|
259
|
+
padding-bottom: 4px;
|
260
|
+
font-size: small;
|
261
|
+
color: gray; }
|
262
|
+
|
263
|
+
div.method-overview {
|
264
|
+
float: right;
|
265
|
+
width: 25%;
|
266
|
+
overflow: hidden;
|
267
|
+
margin-top: 4px;
|
268
|
+
margin-left: 4px;
|
269
|
+
border: 1px solid gray;
|
270
|
+
background-color: #EEEEEE; }
|
271
|
+
div.method-overview p {
|
272
|
+
margin: 10px 0px 0px 0px;
|
273
|
+
font-size: 120%;
|
274
|
+
font-variant: small-caps;
|
275
|
+
color: gray;
|
276
|
+
text-align: center; }
|
277
|
+
div.method-overview ul {
|
278
|
+
list-style-type: none;
|
279
|
+
padding-left: 10px; }
|
280
|
+
|
281
|
+
/********** Constants docs **********/
|
282
|
+
table.constants {
|
283
|
+
width: 100%;
|
284
|
+
border-collapse: collapse;
|
285
|
+
border: 1px solid gray; }
|
286
|
+
table.constants td {
|
287
|
+
border: 1px solid gray; }
|
288
|
+
table.constants th {
|
289
|
+
border: 1px solid gray;
|
290
|
+
background-color: #EEEEEE; }
|
291
|
+
|
292
|
+
/********** Attribute docs **********/
|
293
|
+
ul.attribute-list {
|
294
|
+
list-style-image: url("images/tag_blue.png"); }
|
295
|
+
ul.attribute-list strong {
|
296
|
+
color: #336699; }
|
297
|
+
|
298
|
+
/********** Sourcecode listings **********/
|
299
|
+
p.show-source {
|
300
|
+
font-style: italic; }
|
301
|
+
|
302
|
+
pre {
|
303
|
+
overflow-x: auto;
|
304
|
+
border: 1px solid gray;
|
305
|
+
padding: 4px;
|
306
|
+
background-color: #222222;
|
307
|
+
color: white; }
|
308
|
+
|
309
|
+
pre.ruby span.ruby-keyword {
|
310
|
+
color: #00CCCC;
|
311
|
+
font-weight: bold; }
|
312
|
+
pre.ruby span.ruby-regexp {
|
313
|
+
background-color: #006C0D;
|
314
|
+
color: #222222; }
|
315
|
+
pre.ruby span.ruby-string {
|
316
|
+
color: #FF5500; }
|
317
|
+
pre.ruby span.ruby-ivar {
|
318
|
+
color: #4444C8; }
|
319
|
+
pre.ruby span.ruby-constant {
|
320
|
+
color: #AA00AA; }
|
321
|
+
pre.ruby span.ruby-comment {
|
322
|
+
color: #008E2F; }
|
323
|
+
|
324
|
+
/****************************************
|
325
|
+
* Unique elements
|
326
|
+
****************************************/
|
327
|
+
div#indices {
|
328
|
+
float: left;
|
329
|
+
width: 19%;
|
330
|
+
/* Some space */ }
|
331
|
+
|
332
|
+
div#content {
|
333
|
+
float: right;
|
334
|
+
width: 79%;
|
335
|
+
/* Some space */
|
336
|
+
border-left: 2px dashed gray;
|
337
|
+
padding-left: 10px; }
|
338
|
+
|
339
|
+
div#footer {
|
340
|
+
border-top: 1px solid gray;
|
341
|
+
font-size: small;
|
342
|
+
color: gray; }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emerald
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.alpha2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- LEGAL.rdoc
|
67
67
|
- CHANGELOG.rdoc
|
68
68
|
- README.rdoc
|
69
|
+
- data/stylesheets/rdoc.css
|
69
70
|
- data/javascripts/toc.js
|
70
71
|
- data/javascripts/jquery.js
|
71
72
|
- data/javascripts/emerald.js
|