distil 0.12.6 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/Rakefile +13 -1
  2. data/VERSION +1 -1
  3. data/bin/distil +21 -13
  4. data/distil.gemspec +27 -4
  5. data/distil.tmproj +4 -125
  6. data/lib/distil/configurable.rb +1 -0
  7. data/lib/distil/product/javascript-product.rb +2 -1
  8. data/lib/distil/product/pdoc-product.rb +42 -0
  9. data/lib/distil/product.rb +1 -0
  10. data/lib/distil/source-file.rb +3 -5
  11. data/lib/distil/target.rb +6 -3
  12. data/lib/distil/task.rb +1 -1
  13. data/lib/distil.rb +14 -14
  14. data/vendor/pdoc/Rakefile +3 -3
  15. data/vendor/pdoc-template/assets/stylesheets/api.css +693 -0
  16. data/vendor/pdoc-template/assets/stylesheets/core.css +84 -0
  17. data/vendor/pdoc-template/assets/stylesheets/pygments.css +62 -0
  18. data/vendor/pdoc-template/assets/stylesheets/reset.css +70 -0
  19. data/vendor/pdoc-template/assets/stylesheets/syntax.css +60 -0
  20. data/vendor/pdoc-template/helpers.rb +35 -0
  21. data/vendor/pdoc-template/index.erb +24 -0
  22. data/vendor/pdoc-template/item_index.js.erb +6 -0
  23. data/vendor/pdoc-template/layout.erb +28 -0
  24. data/vendor/pdoc-template/leaf.erb +22 -0
  25. data/vendor/pdoc-template/node.erb +64 -0
  26. data/vendor/pdoc-template/partials/class_relationships.erb +19 -0
  27. data/vendor/pdoc-template/partials/classes.erb +7 -0
  28. data/vendor/pdoc-template/partials/constructor.erb +5 -0
  29. data/vendor/pdoc-template/partials/link_list.erb +1 -0
  30. data/vendor/pdoc-template/partials/method_signatures.erb +14 -0
  31. data/vendor/pdoc-template/partials/methodized_note.erb +9 -0
  32. data/vendor/pdoc-template/partials/namespaces.erb +7 -0
  33. data/vendor/pdoc-template/partials/related_utilities.erb +5 -0
  34. data/vendor/pdoc-template/partials/relationships.erb +11 -0
  35. data/vendor/pdoc-template/partials/short_description_list.erb +7 -0
  36. data/vendor/pdoc-template/partials/title.erb +22 -0
  37. data/vendor/pdoc-template/section.erb +22 -0
  38. metadata +30 -7
  39. data/vendor/pdoc/pdoc-0.2.0.gem +0 -0
@@ -0,0 +1,693 @@
1
+ /* The "section" class implicitly needs a clearfix; adding it here for convenience. */
2
+
3
+ .clearfix:after,
4
+ .section:after {
5
+ content: ".";
6
+ display: block;
7
+ clear: both;
8
+ visibility: hidden;
9
+ line-height: 0;
10
+ height: 0;
11
+ }
12
+
13
+ .clearfix, .section {
14
+ display: inline-block;
15
+ }
16
+
17
+ html[xmlns] .clearfix,
18
+ html[xmlns] .section {
19
+ display: block;
20
+ }
21
+
22
+ * html .clearfix,
23
+ * html .section {
24
+ height: 1%;
25
+ }
26
+
27
+ span.replaced { visibility: hidden; }
28
+ span.hidden { display: none; }
29
+
30
+
31
+ body {
32
+ font-family: Verdana, sans-serif;
33
+ font-size: 82.5%;
34
+ line-height: 1.5em;
35
+ margin: 0;
36
+ padding: 0;
37
+ }
38
+
39
+ body * {
40
+ margin: 0;
41
+ padding: 0;
42
+ }
43
+
44
+ h1, h2, h3, h4, h5, h6 {
45
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
46
+ }
47
+
48
+ pre {
49
+ white-space: pre-wrap; /* CSS 3 */
50
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
51
+ white-space: -pre-wrap; /* Opera 4-6 */
52
+ white-space: -o-pre-wrap; /* Opera 7 */
53
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
54
+ }
55
+
56
+ a img {
57
+ border: 0;
58
+ }
59
+
60
+ ul, li {
61
+ list-style-type: none;
62
+ }
63
+
64
+ ol, ul {
65
+ margin: 0 0 15px;
66
+ }
67
+
68
+ code, pre {
69
+ font-family: "Panic Sans", "Bitstream Vera Sans Mono", Monaco, Consolas, Andale Mono, monospace;
70
+ font-size: 12px;
71
+ }
72
+
73
+ #page a.img,
74
+ #page a.img:link,
75
+ #page a.img:visited {
76
+ border: 0;
77
+ }
78
+
79
+ .content {
80
+ padding-left: 120px;
81
+ margin: 0 auto;
82
+ }
83
+
84
+ #page {
85
+ margin: 0;
86
+ position: fixed;
87
+ top: 0;
88
+ bottom: 0;
89
+ right: 0;
90
+ left: 241px;
91
+ overflow-y: scroll;
92
+ overflow-x: auto;
93
+ }
94
+
95
+
96
+ /* MASTHEAD */
97
+
98
+ .masthead {
99
+ margin-top: 31px;
100
+ height: 75px;
101
+ padding: 1px 0;
102
+ background: url(../images/header-stripe-small.png) repeat-x;
103
+ }
104
+
105
+ h1.logo {
106
+ width: 236px;
107
+ height: 150px;
108
+ background: url(../images/header-logo-small.png) no-repeat;
109
+ }
110
+
111
+ h1.logo a {
112
+ text-decoration: none;
113
+ }
114
+
115
+ /* BREADCRUMBS */
116
+
117
+ ul.breadcrumbs {
118
+ margin-left: 120px;
119
+ padding-left: 120px;
120
+ list-style-type: none;
121
+ }
122
+
123
+ ul.breadcrumbs li {
124
+ float: left;
125
+ list-style-type: none;
126
+ margin-left: 0;
127
+ margin-right: 0.4em;
128
+ }
129
+
130
+ #deprecated {
131
+ position: absolute;
132
+ right: 0;
133
+ top: 0;
134
+ }
135
+
136
+ #deprecated img {
137
+ display: block;
138
+ border: 0;
139
+ }
140
+
141
+
142
+ /* PAGE CONTENT */
143
+
144
+ .page-content {
145
+ width: 715px;
146
+ margin: 0 0 30px 0;
147
+ }
148
+
149
+ .page-content h2.page-title {
150
+ margin: 0 0 15px 120px;
151
+ line-height: 100%;
152
+ font-size: 27px;
153
+ letter-spacing: -1px;
154
+ color: #444;
155
+ }
156
+
157
+ .page-introduction {
158
+ margin-left: 120px;
159
+ margin-bottom: 25px;
160
+ }
161
+
162
+ .page-content a,
163
+ .page-content a:link {
164
+ color: #036;
165
+ border-bottom: 1px solid #036;
166
+ text-decoration: none;
167
+ }
168
+
169
+ .page-content a:visited {
170
+ border-bottom: 1px solid #bbb;
171
+ }
172
+
173
+ .page-content ul,
174
+ .page-content ol {
175
+ margin: 10px 0;
176
+ }
177
+
178
+ .page-content li {
179
+ margin: 5px 0 8px 20px;
180
+ list-style-type: disc;
181
+ }
182
+
183
+ .page-content p {
184
+ margin: 0 0 0.8em;
185
+ }
186
+
187
+ .page-content code {
188
+ background-color: #f0f0f0;
189
+ border: 1px solid #ccc;
190
+ border-radius: 3px;
191
+ -webkit-border-radius: 3px;
192
+ -moz-border-radius: 3px;
193
+ padding: 0 3px;
194
+ }
195
+
196
+ .page-content pre {
197
+ color: #333;
198
+ background-color: #f0f0ff;
199
+ border: 1px solid #dde;
200
+ padding: 3px 5px;
201
+ margin: 0 0 1em;
202
+ }
203
+
204
+ .page-content pre code {
205
+ background-color: transparent;
206
+ border: 0;
207
+ padding: 0;
208
+ line-height: 100%;
209
+ }
210
+
211
+
212
+ .page-content code {
213
+
214
+ }
215
+
216
+ .page-content h1 {
217
+ font-size: 27px;
218
+ color: #000;
219
+ margin: 1.0em 0 0.6em;
220
+ }
221
+
222
+ .page-content h2 {
223
+ font-size: 23px;
224
+ color: #000;
225
+ margin: 1.0em 0 0.6em;
226
+ }
227
+
228
+ .page-content h3 {
229
+ font-size: 20px;
230
+ color: #000;
231
+ margin: 1.0em 0 0.6em;
232
+ }
233
+
234
+ .page-content h4 {
235
+ font-size: 17px;
236
+ color: #555;
237
+ margin: 1.0em 0 0.6em;
238
+ }
239
+
240
+ .page-content h5 {
241
+ font-size: 15px;
242
+ color: #2a2a2a;
243
+ margin: 1.0em 0 0.6em;
244
+ }
245
+
246
+ .page-content h6 {
247
+ font-size: 14px;
248
+ color: #000;
249
+ margin: 1.0em 0 0.6em;
250
+ }
251
+
252
+ /* PAGE SECTIONS */
253
+
254
+ .section {
255
+ margin: 10px 0 15px;
256
+ }
257
+
258
+ .section-title {
259
+ width: 110px;
260
+ float: left;
261
+ margin-right: 10px;
262
+ padding-right: 0;
263
+ padding-bottom: 10px;
264
+ text-align: right;
265
+ overflow: hidden;
266
+ }
267
+
268
+ .section-title h3 {
269
+ color: #999;
270
+ font-size: 14px;
271
+ line-height: 110%;
272
+ margin-top: 3px;
273
+ padding-right: 10px;
274
+ padding-bottom: 5px;
275
+ }
276
+
277
+ .section-content {
278
+ width: 595px;
279
+ float: left;
280
+ }
281
+
282
+
283
+ /* API STYLES */
284
+
285
+ .page-title .type {
286
+ display: block;
287
+ text-transform: uppercase;
288
+ font-size: 14px;
289
+ color: #aaa;
290
+ }
291
+
292
+
293
+ ul.section-list {
294
+ list-style-type: none;
295
+ margin-top: 0;
296
+ }
297
+
298
+ ul.section-list li {
299
+ list-style-type: none;
300
+ margin: 0 0 15px;
301
+ }
302
+
303
+ ul.section-list li h4 {
304
+ margin-top: 0;
305
+ }
306
+
307
+ ul.method-list {
308
+ margin-top: 0;
309
+ }
310
+
311
+ ul.method-list li {
312
+ float: left;
313
+ margin: 0 5px 3px 0;
314
+ list-style-type: none;
315
+ padding-bottom: 0;
316
+ }
317
+
318
+ ul.method-list li a,
319
+ ul.method-list li a:link {
320
+ text-decoration: none;
321
+ border: 0;
322
+ }
323
+
324
+ ul.method-details-list {
325
+ margin-top: 0;
326
+ }
327
+
328
+ li.method-description {
329
+ margin: 0 0 2.0em;
330
+ list-style-type: none;
331
+ }
332
+
333
+ .method-description h4 {
334
+ margin: 0 0 0.6em;
335
+ line-height: 90%;
336
+ }
337
+
338
+ .method-description p {
339
+ margin: 0.8em 0;
340
+ }
341
+
342
+
343
+ .method-description .method-permalink a {
344
+ color: #aaa;
345
+ text-decoration: none;
346
+ border-bottom: 0;
347
+ font-size: 14px;
348
+ }
349
+
350
+ h4.inherited {
351
+ clear: left;
352
+ font-size: 15px;
353
+ font-style: italic;
354
+ }
355
+
356
+ pre.syntax {
357
+ margin-bottom: 5px;
358
+ }
359
+
360
+ ul.argument-list {
361
+ font-size: 12px;
362
+ padding: 0;
363
+ margin: 0;
364
+ }
365
+
366
+ ul.argument-list li {
367
+ line-height: 140%;
368
+ margin-top: 0px;
369
+ margin-bottom: 5px;
370
+ }
371
+
372
+ ul.argument-list li code {
373
+ font-size: 11px;
374
+ }
375
+
376
+ ul.argument-list .argument-name {
377
+ background-color: #eeffee;
378
+ border-color: #6b6;
379
+ }
380
+
381
+
382
+ /* SECTION ICONS */
383
+
384
+ .page-content .section .section-title h3 {
385
+ padding-right: 24px;
386
+ background-position: right 0;
387
+ background-repeat: no-repeat;
388
+ }
389
+
390
+ .section-constructor .section-title h3 {
391
+ background-image: url(../images/constructor.png);
392
+ }
393
+
394
+ .section-method-list .section-title h3 {
395
+ background-image: url(../images/method.png);
396
+ }
397
+
398
+ .section-class_methods .section-title h3 {
399
+ background-image: url(../images/class_method.png);
400
+ }
401
+
402
+ .section-class_properties .section-title h3 {
403
+ background-image: url(../images/class_property.png);
404
+ }
405
+
406
+ .section-instance_methods .section-title h3 {
407
+ background-image: url(../images/instance_method.png);
408
+ }
409
+
410
+ .section-instance_properties .section-title h3 {
411
+ background-image: url(../images/instance_property.png);
412
+ }
413
+
414
+ .section-mixins .section-title h3 {
415
+ background-image: url(../images/mixin.png);
416
+ }
417
+
418
+ .section-classes .section-title h3 {
419
+ background-image: url(../images/class.png);
420
+ }
421
+
422
+ .section-namespaces .section-title h3 {
423
+ background-image: url(../images/namespace.png);
424
+ }
425
+
426
+ .section-sections .section-title h3 {
427
+ background-image: url(../images/section.png);
428
+ }
429
+
430
+ .section-utilities .section-title h3 {
431
+ background-image: url(../images/utility.png);
432
+ }
433
+
434
+ .section-description .section-title h3 {
435
+ background-image: url(../images/description.png);
436
+ }
437
+
438
+ .section-subclasses .section-title h3 {
439
+ background-image: url(../images/subclass.png);
440
+ }
441
+
442
+ .section-superclass .section-title h3 {
443
+ background-image: url(../images/superclass.png);
444
+ }
445
+
446
+ /* notes */
447
+
448
+ p.note,
449
+ p.alias,
450
+ p.related-to {
451
+ font-size: 11px;
452
+ line-height: 14px;
453
+ padding: 5px 20px 5px 60px;
454
+ background-repeat: no-repeat;
455
+ background-position: 20px 50%;
456
+ border: 1px solid #000;
457
+ }
458
+
459
+ p.note {
460
+ background-color: #f0f0f4;
461
+ background-image: url(../images/information.png);
462
+ border-color: #69c;
463
+ }
464
+
465
+ p.alias {
466
+ background-color: #fff6de;
467
+ background-image: url(../images/alias.png);
468
+ border-color: #cc9;
469
+ }
470
+
471
+ p.related-to {
472
+ background-color: #f4f0f4;
473
+ background-image: url(../images/related_to.png);
474
+ border-color: #c9c;
475
+ }
476
+
477
+ /* SIDEBAR */
478
+
479
+ #sidebar {
480
+ position: fixed;
481
+ top: 0;
482
+ bottom: 0;
483
+ left: 0;
484
+ width: 240px;
485
+ background: #fff;
486
+ font-size: 13px;
487
+ }
488
+
489
+ #sidebar form.search-ribbon {
490
+ margin: 0;
491
+ height: 24px;
492
+ border-right: 1px solid #636363;
493
+ padding: 4px 0 3px;
494
+ border-bottom: 1px solid #587e93;
495
+ background: url(../images/search-background.png) repeat-x 0 0;
496
+ text-align: center;
497
+ }
498
+
499
+ /* Keep these around for `Control.Tabs`. */
500
+ .sidebar-tabs { display: none; }
501
+
502
+ .menu-items ul {
503
+ margin: 0;
504
+ }
505
+
506
+ .menu-items ul li {
507
+ list-style-type: none;
508
+ padding-left: 0;
509
+ margin-left: 0;
510
+ }
511
+
512
+ .menu-items ul .menu-item a {
513
+ padding-left: 38px;
514
+ background-position: 16px 50%;
515
+ }
516
+
517
+ .menu-items ul ul .menu-item a {
518
+ padding-left: 48px;
519
+ background-position: 26px 50%;
520
+ }
521
+
522
+ .menu-items ul ul ul .menu-item a {
523
+ padding-left: 58px;
524
+ background-position: 36px 50%;
525
+ }
526
+
527
+ .menu-items ul ul ul ul .menu-item a {
528
+ padding-left: 68px;
529
+ background-position: 46px 50%;
530
+ }
531
+
532
+
533
+
534
+ .menu-item a,
535
+ .menu-item a:link {
536
+ display: block;
537
+ padding: 3px 10px 3px 28px;
538
+ background-position: 6px 50%;
539
+ background-repeat: no-repeat;
540
+ text-align: left;
541
+ text-decoration: none;
542
+ color: #333;
543
+ border-top: 1px solid #fff;
544
+ border-bottom: 1px solid #fff;
545
+ white-space: nowrap;
546
+ }
547
+
548
+ .menu-item a:hover,
549
+ .menu-item a.highlighted,
550
+ #sidebar .highlighted a {
551
+ border-top: 1px solid #69f;
552
+ border-bottom: 1px solid #69f;
553
+ background-color: #f0f0ff;
554
+ }
555
+
556
+ .menu-item a.current,
557
+ #sidebar .current a {
558
+ border-top: 1px solid #f0f0ff;
559
+ border-bottom: 1px solid #f0f0ff;
560
+ background-color: #f0f0ff;
561
+ }
562
+
563
+ .menu-item a.current-parent,
564
+ #sidebar .current-parent a {
565
+ border-top: 1px solid #f0f0ff;
566
+ border-bottom: 1px solid #f0f0ff;
567
+ background-color: #f0f0ff;
568
+ }
569
+
570
+ .menu-item a.class-method {
571
+ background-image: url(../images/class_method.png);
572
+ }
573
+
574
+ .menu-item a.instance-method {
575
+ background-image: url(../images/instance_method.png);
576
+ }
577
+
578
+ .menu-item a.class {
579
+ background-image: url(../images/class.png);
580
+ }
581
+
582
+ .menu-item a.constructor {
583
+ background-image: url(../images/constructor.png);
584
+ }
585
+
586
+ .menu-item a.class-property {
587
+ background-image: url(../images/class_property.png);
588
+ }
589
+
590
+ .menu-item a.instance-property {
591
+ background-image: url(../images/instance_property.png);
592
+ }
593
+
594
+ .menu-item a.namespace {
595
+ background-image: url(../images/namespace.png);
596
+ }
597
+
598
+ .menu-item a.mixin {
599
+ background-image: url(../images/mixin.png);
600
+ }
601
+
602
+ .menu-item a.utility {
603
+ background-image: url(../images/utility.png);
604
+ }
605
+
606
+ .menu-item a.section {
607
+ margin: 0;
608
+ background-image: url(../images/section.png);
609
+ }
610
+
611
+ #api_menu .menu-item a.section {
612
+ height: 22px;
613
+ font-weight: normal;
614
+ color: #a5a5a5;
615
+ margin-top: 0;
616
+ margin-bottom: 0;
617
+ border-top: 1px solid #000;
618
+ border-bottom: 1px solid #000;
619
+ background: url(../images/section-background.png) repeat-x 0 0;
620
+ }
621
+
622
+ #api_menu .menu-item a.section:hover {
623
+ border-color: #69f;
624
+ color: #D8D9EA;
625
+ background-image: url(../images/selected-section-background.png);
626
+ }
627
+
628
+ .menu-section {
629
+ margin-bottom: 1.0em;
630
+ }
631
+
632
+ #menu_pane {
633
+ position: absolute;
634
+ top: 32px;
635
+ bottom: 0;
636
+ left: 0;
637
+ width: 239px;
638
+ border-right: 1px solid #636363;
639
+ overflow-y: scroll;
640
+ overflow-x: hidden;
641
+ }
642
+
643
+ #search_pane {
644
+ width: 239px;
645
+ border-right: 1px solid #636363;
646
+ position: absolute;
647
+ top: 32px;
648
+ bottom: 0;
649
+ left: 0;
650
+ }
651
+
652
+ #search_results {
653
+ margin: 0;
654
+ padding: 0;
655
+ overflow-y: scroll;
656
+ overflow-x: hidden;
657
+ position: absolute;
658
+ top: 0;
659
+ bottom: 0;
660
+ width: 239px;
661
+ }
662
+
663
+ #search {
664
+ width: 200px;
665
+ padding: 2px 3px;
666
+ }
667
+
668
+ input.ghosted {
669
+ font-style: italic;
670
+ color: #aaa;
671
+ }
672
+
673
+
674
+ /* FOOTER */
675
+
676
+ #footer {
677
+ color: #bbb;
678
+ width: 595px;
679
+ margin-left: 120px;
680
+ margin-top: 30px;
681
+ border-top: 1px solid #ccc;
682
+ font-size: 10px;
683
+ padding: 1em 0;
684
+ }
685
+
686
+ #footer a,
687
+ #footer a:link {
688
+ color: #999;
689
+ }
690
+
691
+ #src_code_href {
692
+ float: right;
693
+ }