jazzy 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -5
  3. data/Rakefile +2 -0
  4. data/bin/jazzy +1 -1
  5. data/jazzy.gemspec +1 -0
  6. data/lib/jazzy.rb +1 -0
  7. data/lib/jazzy/assets/css/highlight.css.scss +63 -0
  8. data/lib/jazzy/assets/css/jazzy.css.scss +27 -1
  9. data/lib/jazzy/assets/js/jazzy.js +8 -2
  10. data/lib/jazzy/config.rb +32 -0
  11. data/lib/jazzy/doc.mustache +15 -1
  12. data/lib/jazzy/doc_builder.rb +24 -12
  13. data/lib/jazzy/docset_builder.rb +77 -0
  14. data/lib/jazzy/docset_builder/info_plist.mustache +20 -0
  15. data/lib/jazzy/gem_version.rb +1 -1
  16. data/lib/jazzy/highlighter.rb +10 -0
  17. data/lib/jazzy/partials/task.mustache +3 -3
  18. data/lib/jazzy/source_declaration.rb +3 -3
  19. data/lib/jazzy/source_declaration/type.rb +136 -0
  20. data/lib/jazzy/source_module.rb +10 -0
  21. data/lib/jazzy/sourcekitten.rb +35 -62
  22. data/logo.sketch +0 -0
  23. data/spec/integration_spec.rb +10 -0
  24. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Info.plist +20 -0
  25. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Classes.html +267 -0
  26. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Classes/Manager.html +488 -0
  27. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Classes/Manager/init(configuration:).html +218 -0
  28. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Classes/Request.html +841 -0
  29. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Enums.html +257 -0
  30. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Enums/ParameterEncoding.html +346 -0
  31. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Extensions.html +708 -0
  32. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Extensions/Manager.html +344 -0
  33. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Extensions/Request.html +368 -0
  34. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Functions.html +1040 -0
  35. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Global Variables.html +226 -0
  36. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Manager.html +344 -0
  37. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Manager/init(configuration:).html +218 -0
  38. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/ParameterEncoding.html +346 -0
  39. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Protocols.html +275 -0
  40. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Protocols/URLRequestConvertible.html +227 -0
  41. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Protocols/URLStringConvertible.html +227 -0
  42. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Request.html +368 -0
  43. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/URLRequestConvertible.html +227 -0
  44. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/URLStringConvertible.html +227 -0
  45. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/carat.png +0 -0
  46. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/css/highlight.css +202 -0
  47. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/css/jazzy.css +708 -0
  48. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/dash.png +0 -0
  49. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/gh.png +0 -0
  50. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/highlight.css +202 -0
  51. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/img/carat.png +0 -0
  52. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/img/dash.png +0 -0
  53. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/img/gh.png +0 -0
  54. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/index.html +755 -0
  55. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/init(configuration:).html +218 -0
  56. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/jazzy.css +708 -0
  57. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/jazzy.js +21 -0
  58. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/jquery.min.js +4 -0
  59. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/js/jazzy.js +21 -0
  60. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/js/jquery.min.js +4 -0
  61. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/docSet.dsidx.csv +81 -0
  62. data/spec/integration_specs/document_alamofire/after/docs/Classes.html +18 -7
  63. data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager.html +31 -19
  64. data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager/init(configuration:).html +14 -1
  65. data/spec/integration_specs/document_alamofire/after/docs/Classes/Request.html +61 -46
  66. data/spec/integration_specs/document_alamofire/after/docs/Enums.html +18 -7
  67. data/spec/integration_specs/document_alamofire/after/docs/Enums/ParameterEncoding.html +20 -4
  68. data/spec/integration_specs/document_alamofire/after/docs/Extensions.html +68 -48
  69. data/spec/integration_specs/document_alamofire/after/docs/Extensions/Manager.html +21 -7
  70. data/spec/integration_specs/document_alamofire/after/docs/Extensions/Request.html +22 -10
  71. data/spec/integration_specs/document_alamofire/after/docs/Functions.html +51 -34
  72. data/spec/integration_specs/document_alamofire/after/docs/Global Variables.html +15 -4
  73. data/spec/integration_specs/document_alamofire/after/docs/Protocols.html +20 -7
  74. data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLRequestConvertible.html +16 -4
  75. data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLStringConvertible.html +16 -4
  76. data/spec/integration_specs/document_alamofire/after/docs/css/highlight.css +202 -0
  77. data/spec/integration_specs/document_alamofire/after/docs/css/jazzy.css +14 -0
  78. data/spec/integration_specs/document_alamofire/after/docs/index.html +53 -42
  79. data/spec/integration_specs/document_alamofire/after/docs/js/jazzy.js +8 -2
  80. data/spec/integration_specs/misc_jazzy_features/after/docs/Classes.html +34 -22
  81. data/spec/integration_specs/misc_jazzy_features/after/docs/Classes/ImplicitlyInternalTopLevelClass.html +16 -4
  82. data/spec/integration_specs/misc_jazzy_features/after/docs/Enums.html +16 -4
  83. data/spec/integration_specs/misc_jazzy_features/after/docs/Enums/DocumentedEnum.html +14 -1
  84. data/spec/integration_specs/misc_jazzy_features/after/docs/Global Variables.html +16 -4
  85. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Info.plist +20 -0
  86. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Classes.html +309 -0
  87. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Classes/ImplicitlyInternalTopLevelClass.html +143 -0
  88. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/DocumentedEnum.html +134 -0
  89. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Enums.html +147 -0
  90. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Enums/DocumentedEnum.html +134 -0
  91. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Global Variables.html +146 -0
  92. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/ImplicitlyInternalTopLevelClass.html +143 -0
  93. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/carat.png +0 -0
  94. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/css/highlight.css +202 -0
  95. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/css/jazzy.css +708 -0
  96. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/dash.png +0 -0
  97. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/gh.png +0 -0
  98. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/highlight.css +202 -0
  99. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/carat.png +0 -0
  100. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/dash.png +0 -0
  101. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/gh.png +0 -0
  102. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/index.html +106 -0
  103. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/jazzy.css +708 -0
  104. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/jazzy.js +21 -0
  105. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/jquery.min.js +4 -0
  106. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/js/jazzy.js +21 -0
  107. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/js/jquery.min.js +4 -0
  108. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/docSet.dsidx.csv +15 -0
  109. data/spec/integration_specs/misc_jazzy_features/after/docs/css/highlight.css +202 -0
  110. data/spec/integration_specs/misc_jazzy_features/after/docs/css/jazzy.css +14 -0
  111. data/spec/integration_specs/misc_jazzy_features/after/docs/index.html +12 -1
  112. data/spec/integration_specs/misc_jazzy_features/after/docs/js/jazzy.js +8 -2
  113. metadata +88 -5
  114. data/lib/jazzy/assets/css/github_syntax_highlighting.css.scss +0 -142
  115. data/spec/integration_specs/document_alamofire/after/docs/css/github_syntax_highlighting.css +0 -98
  116. data/spec/integration_specs/misc_jazzy_features/after/docs/css/github_syntax_highlighting.css +0 -98
@@ -1,142 +0,0 @@
1
- /* Credit to https://github.com/magnetikonline/ghmarkdownrender */
2
-
3
- .highlight {
4
- .bp {
5
- color: #999999;
6
- }
7
- .c1, .cm {
8
- color: #999988;
9
- font-style: italic;
10
- }
11
- .cp {
12
- color: #999999;
13
- font-weight: bold;
14
- }
15
- .cs {
16
- color: #999999;
17
- font-weight: bold;
18
- font-style: italic;
19
- }
20
- .c {
21
- color: #999988;
22
- font-style: italic;
23
- }
24
- .err {
25
- color: #a61717;
26
- background: #e3d2d2;
27
- }
28
- .gc {
29
- color: #999;
30
- background: #eaf2f5;
31
- }
32
- .gd {
33
- .x {
34
- color: #000000;
35
- background: #ffaaaa;
36
- }
37
- color: #000000;
38
- background: #ffdddd;
39
- }
40
- .ge {
41
- font-style: italic;
42
- }
43
- .gh {
44
- color: #999999;
45
- }
46
- .gi {
47
- .x {
48
- color: #000000;
49
- background: #aaffaa;
50
- }
51
- color: #000000;
52
- background: #ddffdd;
53
- }
54
- .go {
55
- color: #888888;
56
- }
57
- .gp {
58
- color: #555555;
59
- }
60
- .gr {
61
- color: #aa0000;
62
- }
63
- .gs {
64
- font-weight: bold;
65
- }
66
- .gt {
67
- color: #aa0000;
68
- }
69
- .gu {
70
- color: #800080;
71
- font-weight: bold;
72
- }
73
- .il {
74
- color: #009999;
75
- }
76
- .kc, .kd, .kn, .kp, .kr {
77
- font-weight: bold;
78
- }
79
- .kt {
80
- color: #445588;
81
- font-weight: bold;
82
- }
83
- .k {
84
- font-weight: bold;
85
- }
86
- .mf, .mh, .mi, .mo, .m {
87
- color: #009999;
88
- }
89
- .na {
90
- color: #008080;
91
- }
92
- .nb {
93
- color: #0086b3;
94
- }
95
- .nc {
96
- color: #445588;
97
- font-weight: bold;
98
- }
99
- .ne, .nf {
100
- color: #990000;
101
- font-weight: bold;
102
- }
103
- .ni {
104
- color: #800080;
105
- }
106
- .nn {
107
- color: #555555;
108
- }
109
- .no {
110
- color: #008080;
111
- }
112
- .nt {
113
- color: #000080;
114
- }
115
- .nv {
116
- color: #008080;
117
- }
118
- .n {
119
- color: #333333;
120
- }
121
- .ow, .o {
122
- font-weight: bold;
123
- }
124
- .s1, .s2, .sb, .sc, .sd, .se, .sh, .si {
125
- color: #d14;
126
- }
127
- .sr {
128
- color: #009926;
129
- }
130
- .ss {
131
- color: #990073;
132
- }
133
- .sx, .s {
134
- color: #d14;
135
- }
136
- .vc, .vg, .vi {
137
- color: #008080;
138
- }
139
- .w {
140
- color: #bbbbbb;
141
- }
142
- }
@@ -1,98 +0,0 @@
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; }
@@ -1,98 +0,0 @@
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; }