jazzy 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -4
  3. data/README.md +2 -2
  4. data/jazzy.gemspec +1 -0
  5. data/lib/jazzy/assets/css/github_syntax_highlighting.css.scss +142 -0
  6. data/lib/jazzy/assets/css/jazzy.css.scss +321 -0
  7. data/lib/jazzy/config.rb +1 -0
  8. data/lib/jazzy/doc.mustache +1 -0
  9. data/lib/jazzy/doc_builder.rb +30 -22
  10. data/lib/jazzy/gem_version.rb +1 -1
  11. data/lib/jazzy/jazzy_markdown.rb +27 -1
  12. data/lib/jazzy/partials/task.mustache +7 -0
  13. data/lib/jazzy/readme_generator.rb +35 -0
  14. data/lib/jazzy/source_declaration.rb +1 -0
  15. data/lib/jazzy/source_mark.rb +31 -0
  16. data/lib/jazzy/sourcekitten.rb +7 -0
  17. data/logo.jpg +0 -0
  18. data/spec/integration_specs/document_alamofire/after/docs/Classes.html +15 -4
  19. data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager.html +14 -4
  20. data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager/init(configuration:).html +4 -4
  21. data/spec/integration_specs/document_alamofire/after/docs/Classes/Request.html +40 -4
  22. data/spec/integration_specs/document_alamofire/after/docs/Enums.html +5 -4
  23. data/spec/integration_specs/document_alamofire/after/docs/Enums/ParameterEncoding.html +4 -4
  24. data/spec/integration_specs/document_alamofire/after/docs/Extensions.html +112 -4
  25. data/spec/integration_specs/document_alamofire/after/docs/Extensions/Manager.html +18 -3
  26. data/spec/integration_specs/document_alamofire/after/docs/Extensions/Request.html +4 -4
  27. data/spec/integration_specs/document_alamofire/after/docs/Functions.html +66 -3
  28. data/spec/integration_specs/document_alamofire/after/docs/Global Variables.html +4 -4
  29. data/spec/integration_specs/document_alamofire/after/docs/Protocols.html +20 -3
  30. data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLRequestConvertible.html +4 -4
  31. data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLStringConvertible.html +4 -4
  32. data/spec/integration_specs/document_alamofire/after/docs/css/github_syntax_highlighting.css +98 -0
  33. data/spec/integration_specs/document_alamofire/after/docs/css/jazzy.css +250 -0
  34. data/spec/integration_specs/document_alamofire/after/docs/index.html +572 -1
  35. data/spec/integration_specs/misc_jazzy_features/after/docs/Classes.html +7 -3
  36. data/spec/integration_specs/misc_jazzy_features/after/docs/Classes/ImplicitlyInternalTopLevelClass.html +4 -4
  37. data/spec/integration_specs/misc_jazzy_features/after/docs/Enums.html +7 -3
  38. data/spec/integration_specs/misc_jazzy_features/after/docs/Enums/DocumentedEnum.html +4 -4
  39. data/spec/integration_specs/misc_jazzy_features/after/docs/Global Variables.html +6 -3
  40. data/spec/integration_specs/misc_jazzy_features/after/docs/css/github_syntax_highlighting.css +98 -0
  41. data/spec/integration_specs/misc_jazzy_features/after/docs/css/jazzy.css +250 -0
  42. data/spec/integration_specs/misc_jazzy_features/after/docs/index.html +4 -1
  43. data/spec/integration_specs/misc_jazzy_features/before/docs/css/jazzy.css +48 -0
  44. metadata +22 -2
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <title>Global Variables Reference</title>
5
5
  <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
6
+ <link rel="stylesheet" type="text/css" href="css/github_syntax_highlighting.css" />
6
7
  <meta charset='utf-8'>
7
8
  <script src="js/jquery.min.js" defer></script>
8
9
  <script src="js/jazzy.js" defer></script>
@@ -164,10 +165,9 @@
164
165
  <section class="section task-group-section">
165
166
  <div class="task-group">
166
167
  <div class="task-name-container">
167
- <a name="/Children"></a>
168
- <a href="#/Children">
169
- <h3 class="section-name"></h3>
170
- </a>
168
+
169
+ <a name="/Unnamed"></a>
170
+
171
171
  </div>
172
172
  <ul class="task-group-list">
173
173
  <li class="item symbol">
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <title>Protocols Reference</title>
5
5
  <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
6
+ <link rel="stylesheet" type="text/css" href="css/github_syntax_highlighting.css" />
6
7
  <meta charset='utf-8'>
7
8
  <script src="js/jquery.min.js" defer></script>
8
9
  <script src="js/jazzy.js" defer></script>
@@ -164,10 +165,12 @@
164
165
  <section class="section task-group-section">
165
166
  <div class="task-group">
166
167
  <div class="task-name-container">
167
- <a name="/Children"></a>
168
- <a href="#/Children">
169
- <h3 class="section-name"></h3>
168
+ <hr/>
169
+ <a name="/URLStringConvertible"></a>
170
+ <a href="#/URLStringConvertible">
171
+ <h3 class="section-name">URLStringConvertible</h3>
170
172
  </a>
173
+
171
174
  </div>
172
175
  <ul class="task-group-list">
173
176
  <li class="item symbol">
@@ -183,6 +186,7 @@
183
186
  <div class="pointy-thing"></div>
184
187
  <div class="abstract">
185
188
  <p class="para">Types adopting the <code>URLStringConvertible</code> protocol can be used to construct URL strings, which are then used to construct URL requests.</p>
189
+ <a href="Protocols/URLStringConvertible.html" class="see-more">See more</a>
186
190
  </div>
187
191
  <div class="declaration">
188
192
  <h4>Declaration</h4>
@@ -200,6 +204,18 @@
200
204
  </section>
201
205
  </div>
202
206
  </li>
207
+ </ul>
208
+ </div>
209
+ <div class="task-group">
210
+ <div class="task-name-container">
211
+ <hr/>
212
+ <a name="/URLRequestConvertible"></a>
213
+ <a href="#/URLRequestConvertible">
214
+ <h3 class="section-name">URLRequestConvertible</h3>
215
+ </a>
216
+
217
+ </div>
218
+ <ul class="task-group-list">
203
219
  <li class="item symbol">
204
220
  <div class="task-group-term">
205
221
  <code>
@@ -213,6 +229,7 @@
213
229
  <div class="pointy-thing"></div>
214
230
  <div class="abstract">
215
231
  <p class="para">Types adopting the <code>URLRequestConvertible</code> protocol can be used to construct URL requests.</p>
232
+ <a href="Protocols/URLRequestConvertible.html" class="see-more">See more</a>
216
233
  </div>
217
234
  <div class="declaration">
218
235
  <h4>Declaration</h4>
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <title>URLRequestConvertible Protocol Reference</title>
5
5
  <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
6
+ <link rel="stylesheet" type="text/css" href="../css/github_syntax_highlighting.css" />
6
7
  <meta charset='utf-8'>
7
8
  <script src="../js/jquery.min.js" defer></script>
8
9
  <script src="../js/jazzy.js" defer></script>
@@ -164,10 +165,9 @@
164
165
  <section class="section task-group-section">
165
166
  <div class="task-group">
166
167
  <div class="task-name-container">
167
- <a name="/Children"></a>
168
- <a href="#/Children">
169
- <h3 class="section-name"></h3>
170
- </a>
168
+
169
+ <a name="/Unnamed"></a>
170
+
171
171
  </div>
172
172
  <ul class="task-group-list">
173
173
  <li class="item symbol">
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <title>URLStringConvertible Protocol Reference</title>
5
5
  <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
6
+ <link rel="stylesheet" type="text/css" href="../css/github_syntax_highlighting.css" />
6
7
  <meta charset='utf-8'>
7
8
  <script src="../js/jquery.min.js" defer></script>
8
9
  <script src="../js/jazzy.js" defer></script>
@@ -164,10 +165,9 @@
164
165
  <section class="section task-group-section">
165
166
  <div class="task-group">
166
167
  <div class="task-name-container">
167
- <a name="/Children"></a>
168
- <a href="#/Children">
169
- <h3 class="section-name"></h3>
170
- </a>
168
+
169
+ <a name="/Unnamed"></a>
170
+
171
171
  </div>
172
172
  <ul class="task-group-list">
173
173
  <li class="item symbol">
@@ -0,0 +1,98 @@
1
+ /* Credit to https://github.com/magnetikonline/ghmarkdownrender */
2
+ .highlight .bp {
3
+ color: #999999; }
4
+ .highlight .c1, .highlight .cm {
5
+ color: #999988;
6
+ font-style: italic; }
7
+ .highlight .cp {
8
+ color: #999999;
9
+ font-weight: bold; }
10
+ .highlight .cs {
11
+ color: #999999;
12
+ font-weight: bold;
13
+ font-style: italic; }
14
+ .highlight .c {
15
+ color: #999988;
16
+ font-style: italic; }
17
+ .highlight .err {
18
+ color: #a61717;
19
+ background: #e3d2d2; }
20
+ .highlight .gc {
21
+ color: #999;
22
+ background: #eaf2f5; }
23
+ .highlight .gd {
24
+ color: #000000;
25
+ background: #ffdddd; }
26
+ .highlight .gd .x {
27
+ color: #000000;
28
+ background: #ffaaaa; }
29
+ .highlight .ge {
30
+ font-style: italic; }
31
+ .highlight .gh {
32
+ color: #999999; }
33
+ .highlight .gi {
34
+ color: #000000;
35
+ background: #ddffdd; }
36
+ .highlight .gi .x {
37
+ color: #000000;
38
+ background: #aaffaa; }
39
+ .highlight .go {
40
+ color: #888888; }
41
+ .highlight .gp {
42
+ color: #555555; }
43
+ .highlight .gr {
44
+ color: #aa0000; }
45
+ .highlight .gs {
46
+ font-weight: bold; }
47
+ .highlight .gt {
48
+ color: #aa0000; }
49
+ .highlight .gu {
50
+ color: #800080;
51
+ font-weight: bold; }
52
+ .highlight .il {
53
+ color: #009999; }
54
+ .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr {
55
+ font-weight: bold; }
56
+ .highlight .kt {
57
+ color: #445588;
58
+ font-weight: bold; }
59
+ .highlight .k {
60
+ font-weight: bold; }
61
+ .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .m {
62
+ color: #009999; }
63
+ .highlight .na {
64
+ color: #008080; }
65
+ .highlight .nb {
66
+ color: #0086b3; }
67
+ .highlight .nc {
68
+ color: #445588;
69
+ font-weight: bold; }
70
+ .highlight .ne, .highlight .nf {
71
+ color: #990000;
72
+ font-weight: bold; }
73
+ .highlight .ni {
74
+ color: #800080; }
75
+ .highlight .nn {
76
+ color: #555555; }
77
+ .highlight .no {
78
+ color: #008080; }
79
+ .highlight .nt {
80
+ color: #000080; }
81
+ .highlight .nv {
82
+ color: #008080; }
83
+ .highlight .n {
84
+ color: #333333; }
85
+ .highlight .ow, .highlight .o {
86
+ font-weight: bold; }
87
+ .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si {
88
+ color: #d14; }
89
+ .highlight .sr {
90
+ color: #009926; }
91
+ .highlight .ss {
92
+ color: #990073; }
93
+ .highlight .sx, .highlight .s {
94
+ color: #d14; }
95
+ .highlight .vc, .highlight .vg, .highlight .vi {
96
+ color: #008080; }
97
+ .highlight .w {
98
+ color: #bbbbbb; }
@@ -442,3 +442,253 @@ td {
442
442
  position: fixed;
443
443
  width: 734px;
444
444
  z-index: -1; }
445
+
446
+ .readme {
447
+ -ms-text-size-adjust: 100%;
448
+ -webkit-text-size-adjust: 100%;
449
+ color: #414141;
450
+ overflow: hidden;
451
+ font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
452
+ font-size: 16px;
453
+ line-height: 1.6;
454
+ word-wrap: break-word; }
455
+ .readme a {
456
+ background: transparent; }
457
+ .readme a:active, .readme a:hover {
458
+ outline: 0; }
459
+ .readme strong {
460
+ font-weight: bold; }
461
+ .readme h1 {
462
+ font-size: 2em;
463
+ margin: 0.67em 0; }
464
+ .readme img {
465
+ border: 0; }
466
+ .readme hr {
467
+ -moz-box-sizing: content-box;
468
+ box-sizing: content-box;
469
+ height: 0; }
470
+ .readme pre {
471
+ overflow: auto; }
472
+ .readme code,
473
+ .readme kbd,
474
+ .readme pre {
475
+ font-family: monospace, monospace;
476
+ font-size: 1em; }
477
+ .readme table {
478
+ border-collapse: collapse;
479
+ border-spacing: 0; }
480
+ .readme td,
481
+ .readme th {
482
+ padding: 0; }
483
+ .readme * {
484
+ -moz-box-sizing: border-box;
485
+ box-sizing: border-box; }
486
+ .readme a {
487
+ color: #4183c4;
488
+ text-decoration: none; }
489
+ .readme a:hover, .readme a:focus, .readme a:active {
490
+ text-decoration: underline; }
491
+ .readme hr {
492
+ height: 0;
493
+ margin: 15px 0;
494
+ overflow: hidden;
495
+ background: transparent;
496
+ border: 0;
497
+ border-bottom: 1px solid #ddd; }
498
+ .readme hr:before {
499
+ display: table;
500
+ content: ""; }
501
+ .readme hr:after {
502
+ display: table;
503
+ clear: both;
504
+ content: ""; }
505
+ .readme h1,
506
+ .readme h2,
507
+ .readme h3,
508
+ .readme h4,
509
+ .readme h5,
510
+ .readme h6 {
511
+ margin-top: 15px;
512
+ margin-bottom: 15px;
513
+ line-height: 1.1; }
514
+ .readme h1 {
515
+ font-size: 30px; }
516
+ .readme h2 {
517
+ font-size: 21px; }
518
+ .readme h3 {
519
+ font-size: 16px; }
520
+ .readme h4 {
521
+ font-size: 14px; }
522
+ .readme h5 {
523
+ font-size: 12px; }
524
+ .readme h6 {
525
+ font-size: 11px; }
526
+ .readme blockquote {
527
+ margin: 0; }
528
+ .readme ul,
529
+ .readme ol {
530
+ padding: 0;
531
+ margin-top: 0;
532
+ margin-bottom: 0; }
533
+ .readme ol ol,
534
+ .readme ul ol {
535
+ list-style-type: lower-roman; }
536
+ .readme ul ul ol,
537
+ .readme ul ol ol,
538
+ .readme ol ul ol,
539
+ .readme ol ol ol {
540
+ list-style-type: lower-alpha; }
541
+ .readme dd {
542
+ margin-left: 0; }
543
+ .readme code {
544
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; }
545
+ .readme pre {
546
+ margin-top: 0;
547
+ margin-bottom: 0;
548
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; }
549
+ .readme > *:first-child {
550
+ margin-top: 0 !important; }
551
+ .readme > *:last-child {
552
+ margin-bottom: 0 !important; }
553
+ .readme h1,
554
+ .readme h2,
555
+ .readme h3,
556
+ .readme h4,
557
+ .readme h5,
558
+ .readme h6 {
559
+ position: relative;
560
+ margin-top: 1em;
561
+ margin-bottom: 16px;
562
+ font-weight: bold;
563
+ line-height: 1.4; }
564
+ .readme h1 {
565
+ padding-bottom: 0.3em;
566
+ font-size: 2.25em;
567
+ line-height: 1.2;
568
+ border-bottom: 1px solid #eee; }
569
+ .readme h2 {
570
+ padding-bottom: 0.3em;
571
+ font-size: 1.75em;
572
+ line-height: 1.225;
573
+ border-bottom: 1px solid #eee; }
574
+ .readme h3 {
575
+ font-size: 1.5em;
576
+ line-height: 1.43; }
577
+ .readme h4 {
578
+ font-size: 1.25em; }
579
+ .readme h5 {
580
+ font-size: 1em; }
581
+ .readme h6 {
582
+ font-size: 1em;
583
+ color: #777; }
584
+ .readme p,
585
+ .readme blockquote,
586
+ .readme ul,
587
+ .readme ol,
588
+ .readme dl,
589
+ .readme table,
590
+ .readme pre {
591
+ margin-top: 0;
592
+ margin-bottom: 16px; }
593
+ .readme hr {
594
+ height: 4px;
595
+ padding: 0;
596
+ margin: 16px 0;
597
+ background-color: #e7e7e7;
598
+ border: 0 none; }
599
+ .readme ul,
600
+ .readme ol {
601
+ padding-left: 2em; }
602
+ .readme ul ul,
603
+ .readme ul ol,
604
+ .readme ol ol,
605
+ .readme ol ul {
606
+ margin-top: 0;
607
+ margin-bottom: 0; }
608
+ .readme li > p {
609
+ margin-top: 16px; }
610
+ .readme dl {
611
+ padding: 0; }
612
+ .readme dl dt {
613
+ padding: 0;
614
+ margin-top: 16px;
615
+ font-size: 1em;
616
+ font-style: italic;
617
+ font-weight: bold; }
618
+ .readme dl dd {
619
+ padding: 0 16px;
620
+ margin-bottom: 16px; }
621
+ .readme blockquote {
622
+ padding: 0 15px;
623
+ color: #777;
624
+ border-left: 4px solid #ddd; }
625
+ .readme blockquote > :first-child {
626
+ margin-top: 0; }
627
+ .readme blockquote > :last-child {
628
+ margin-bottom: 0; }
629
+ .readme table {
630
+ display: block;
631
+ width: 100%;
632
+ overflow: auto;
633
+ word-break: normal;
634
+ word-break: keep-all; }
635
+ .readme table th {
636
+ font-weight: bold; }
637
+ .readme table th, .readme table td {
638
+ padding: 6px 13px;
639
+ border: 1px solid #ddd; }
640
+ .readme table tr {
641
+ background-color: #fff;
642
+ border-top: 1px solid #ccc; }
643
+ .readme table tr:nth-child(2n) {
644
+ background-color: #f8f8f8; }
645
+ .readme img {
646
+ max-width: 100%;
647
+ -moz-box-sizing: border-box;
648
+ box-sizing: border-box; }
649
+ .readme code {
650
+ padding: 0;
651
+ padding-top: 0.2em;
652
+ padding-bottom: 0.2em;
653
+ margin: 0;
654
+ font-size: 85%;
655
+ background-color: rgba(0, 0, 0, 0.04);
656
+ border-radius: 3px; }
657
+ .readme code:after, .readme code:before {
658
+ letter-spacing: -0.2em;
659
+ content: "\00a0"; }
660
+ .readme pre > code {
661
+ padding: 0;
662
+ margin: 0;
663
+ font-size: 100%;
664
+ word-break: normal;
665
+ white-space: pre;
666
+ background: transparent;
667
+ border: 0; }
668
+ .readme .highlight {
669
+ margin-bottom: 16px; }
670
+ .readme .highlight pre,
671
+ .readme pre {
672
+ padding: 16px;
673
+ overflow: auto;
674
+ font-size: 85%;
675
+ line-height: 1.45;
676
+ background-color: #f7f7f7;
677
+ border-radius: 3px; }
678
+ .readme .highlight pre {
679
+ margin-bottom: 0;
680
+ word-break: normal; }
681
+ .readme pre {
682
+ word-wrap: normal; }
683
+ .readme pre code {
684
+ display: inline;
685
+ max-width: initial;
686
+ padding: 0;
687
+ margin: 0;
688
+ overflow: initial;
689
+ line-height: inherit;
690
+ word-wrap: normal;
691
+ background-color: transparent;
692
+ border: 0; }
693
+ .readme pre code:before, .readme pre code:after {
694
+ content: normal; }