rdoc-generator-fivefish 0.0.1.pre.52 → 0.0.1.pre.56

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,16 +1,36 @@
1
+ 2012-05-21 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * README.rdoc, assets/js/fivefish.js, assets/js/jquery.hotkeys.js:
4
+ Add search hotkey shortcut
5
+ [8331c3a93b42] [tip]
6
+
7
+ * assets/css/fivefish.css:
8
+ Make section H3s stand out
9
+ [e969a0f6925c]
10
+
11
+ * assets/css/fivefish.css:
12
+ Fixed bottom margin for method aliases in class view
13
+ [f5dc93c8a5cc]
14
+
15
+ 2012-05-10 Michael Granger <ged@FaerieMUD.org>
16
+
17
+ * .rvm.gems, Manifest.txt, Rakefile:
18
+ Bump Inversion dependency to 0.10.
19
+ [070425e539a0]
20
+
1
21
  2012-05-07 Michael Granger <ged@FaerieMUD.org>
2
22
 
3
23
  * data/rdoc-generator-fivefish/templates/class.tmpl, data/rdoc-
4
24
  generator-fivefish/templates/index.tmpl,
5
25
  lib/rdoc/generator/fivefish.rb:
6
26
  Uniqueify classes and methods in the index lists.
7
- [b1409e3dd6d0] [tip]
27
+ [b1409e3dd6d0]
8
28
 
9
29
  2012-05-06 Michael Granger <ged@FaerieMUD.org>
10
30
 
11
31
  * assets/css/fivefish.css:
12
32
  Color section headers
13
- [58ecea31b86f] [github/master]
33
+ [58ecea31b86f]
14
34
 
15
35
  2012-05-05 Michael Granger <ged@FaerieMUD.org>
16
36
 
@@ -198,7 +218,7 @@
198
218
 
199
219
  * .rvm.gems, Rakefile:
200
220
  Updating to Inversion 0.8
201
- [0974c250f677] [github/master@default]
221
+ [0974c250f677]
202
222
 
203
223
  2012-03-31 Michael Granger <ged@FaerieMUD.org>
204
224
 
data/README.rdoc CHANGED
@@ -7,13 +7,9 @@
7
7
 
8
8
  A(nother) HTML(5) generator for RDoc.
9
9
 
10
- The goals for this one:
11
-
12
- * Update Darkfish's semantic structure for HTML5
13
- * Clean up the layout with a 960 grid
14
- * Devote more real estate to docs rather than the index
15
- * Demonstrate themability of RDoc in general via the --stylesheet option
16
- * Make the output validate again.
10
+ It uses Twitter Bootstrap for the pretty, doesn't take up valuable horizontal real
11
+ estate space with indexes and stuff, and has Quicksilver[http://qsapp.com/]-like
12
+ search built in.
17
13
 
18
14
 
19
15
  == Installation
@@ -92,6 +92,14 @@ div.container > header.hero-unit h1 {
92
92
  text-shadow: 1px 1px 3px rgba( 25,25,25, 0.2 );
93
93
  }
94
94
 
95
+ h3 {
96
+ font-size: 1.75em;
97
+ padding: 0.5em;
98
+ background-color: #c9c9c9;
99
+ border-radius: 5px;
100
+ }
101
+
102
+
95
103
  /* Indexes */
96
104
  section#indexes {
97
105
  max-height: 460px;
@@ -178,8 +186,8 @@ section.protected-methods div.method header i {
178
186
 
179
187
  section.methods a[name] {
180
188
  position: relative;
181
- top: -35px;
182
- display: none;
189
+ top: -135px;
190
+ visibility: hidden;
183
191
  }
184
192
 
185
193
 
@@ -209,8 +217,10 @@ section.attributes-list dt {
209
217
  div.method header span.method-args {
210
218
  color: #666;
211
219
  }
212
- div.method div.method-description p {
220
+ div.method div.method-description p,
221
+ div.aliases {
213
222
  color: #666;
223
+ margin-bottom: 0.75em;
214
224
  }
215
225
 
216
226
 
@@ -62,4 +62,4 @@ String.prototype.score=function(a,b){if(this==a)return 1;if(a=="")return 0;var c
62
62
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
63
63
  *
64
64
  */
65
- function initFivefish(){console.debug("Loaded. Waiting for DOM to be ready."),$(document).ready(onReady)}function hookTooltips(){$("header.hero-unit h1").popover({placement:"right"})}function hookSourceToggles(){$("div.method header i").click(function(a){var b=a.target,c=$(b).parents("div").get(0),d=$(c).find("div.method-source-code");console.debug("Toggling: %o",d),d.fadeToggle()})}function makeRankingTerm(a){return a.name.replace(/.*::/,"").toLowerCase()}function matchIndexItem(a){var b=this.query,c=makeRankingTerm(a),d=c.score(b,RankFuzziness);return d>=MatchThreshold?!0:!1}function sortIndexItems(a){var b=this.query;return a.sort(function(a,c){var d=makeRankingTerm(a),e=makeRankingTerm(c),f=d.score(b,RankFuzziness),g=e.score(b,RankFuzziness);return f>g?-1:f<g?1:0})}function pickItemIcon(a){var b;switch(a.type){case"anymethod":case"metamethod":b="plus-sign";break;case"normalmodule":b="gift";break;case"normalclass":b="briefcase";break;case"toplevel":b="file";break;default:b="question-sign"}return b}function highlightMatchingItem(a){var b=a.snippet.replace(/<\/?p>/g,"").replace(/\.(.|\n)*/,"."),c=pickItemIcon(a),d=makeRankingTerm(a),e=d.score(this.query,RankFuzziness),f='<span class="search-item"><i class="icon-'+c+'"></i>'+'<span class="search-item-name">'+a.name+"</span>"+'<span class="search-item-rank">'+(e*10).toFixed()+"</span>"+"<br />"+'<span class="search-item-snippet">'+b+"</span>"+"</span>",g=$(f);return g.data("searchitem",a),g}function updateSearchInput(a){var b=this.$menu.find(".active .search-item").data("searchitem");return $("#navbar-search-target").val(b.link),b.name}function hookSearchForm(){$(".navbar-search .search-query").typeahead({source:SearchIndex,matcher:matchIndexItem,sorter:sortIndexItems,updater:updateSearchInput,highlighter:highlightMatchingItem}).change(function(){var a=$("link[rel=prefix]").attr("href"),b=$("#navbar-search-target").val();window.location.assign(a+"/"+b)})}function onReady(){console.debug("Ready!"),hookTooltips(),hookSourceToggles(),hookSearchForm()}const MatchThreshold=.5,RankFuzziness=.5;
65
+ function initFivefish(){console.debug("Loaded. Waiting for DOM to be ready."),$(document).ready(onReady)}function hookTooltips(){$("header.hero-unit h1").popover({placement:"right"})}function hookSourceToggles(){$("div.method header i").click(function(a){var b=a.target,c=$(b).parents("div").get(0),d=$(c).find("div.method-source-code");console.debug("Toggling: %o",d),d.fadeToggle()})}function makeRankingTerm(a){return a.name.replace(/.*::/,"").toLowerCase()}function matchIndexItem(a){var b=this.query,c=makeRankingTerm(a),d=c.score(b,RankFuzziness);return d>=MatchThreshold?!0:!1}function sortIndexItems(a){var b=this.query;return a.sort(function(a,c){var d=makeRankingTerm(a),e=makeRankingTerm(c),f=d.score(b,RankFuzziness),g=e.score(b,RankFuzziness);return f>g?-1:f<g?1:0})}function pickItemIcon(a){var b;switch(a.type){case"anymethod":case"metamethod":b="plus-sign";break;case"normalmodule":b="gift";break;case"normalclass":b="briefcase";break;case"toplevel":b="file";break;default:b="question-sign"}return b}function highlightMatchingItem(a){var b=a.snippet.replace(/<\/?p>/g,"").replace(/\.(.|\n)*/,"."),c=pickItemIcon(a),d=makeRankingTerm(a),e=d.score(this.query,RankFuzziness),f='<span class="search-item"><i class="icon-'+c+'"></i>'+'<span class="search-item-name">'+a.name+"</span>"+'<span class="search-item-rank">'+(e*10).toFixed()+"</span>"+"<br />"+'<span class="search-item-snippet">'+b+"</span>"+"</span>",g=$(f);return g.data("searchitem",a),g}function updateSearchInput(a){var b=this.$menu.find(".active .search-item").data("searchitem");return $("#navbar-search-target").val(b.link),b.name}function hookSearchForm(){$(".navbar-search .search-query").typeahead({source:SearchIndex,matcher:matchIndexItem,sorter:sortIndexItems,updater:updateSearchInput,highlighter:highlightMatchingItem}).change(function(){var a=$("link[rel=prefix]").attr("href"),b=$("#navbar-search-target").val();window.location.assign(a+"/"+b)})}function onSearchKey(a){$("input.search-query").focus()}function onReady(){console.debug("Ready!"),hookTooltips(),hookSourceToggles(),hookSearchForm(),$(document).bind("keydown","ctrl+/",onSearchKey)}const MatchThreshold=.5,RankFuzziness=.5;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc-generator-fivefish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.52
4
+ version: 0.0.1.pre.56
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,7 +36,7 @@ cert_chain:
36
36
  YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
37
37
  Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
38
38
  cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
- date: 2012-05-11 00:00:00.000000000 Z
39
+ date: 2012-05-30 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: inversion
@@ -169,18 +169,11 @@ dependencies:
169
169
  description: ! 'A(nother) HTML(5) generator for RDoc.
170
170
 
171
171
 
172
- The goals for this one:
172
+ It uses Twitter Bootstrap for the pretty, doesn''t take up valuable horizontal real
173
173
 
174
+ estate space with indexes and stuff, and has Quicksilver[http://qsapp.com/]-like
174
175
 
175
- * Update Darkfish''s semantic structure for HTML5
176
-
177
- * Clean up the layout with a 960 grid
178
-
179
- * Devote more real estate to docs rather than the index
180
-
181
- * Demonstrate themability of RDoc in general via the --stylesheet option
182
-
183
- * Make the output validate again.'
176
+ search built in.'
184
177
  email:
185
178
  - ged@FaerieMUD.org
186
179
  executables: []
metadata.gz.sig CHANGED
Binary file