Update Ember.js documentation (1.3.0)

pull/47/head
Thibaut 11 years ago
parent a5fc34b7d4
commit a5fa8d90f7

@ -95,7 +95,7 @@ credits = [
'http://creativecommons.org/licenses/by-sa/2.5/' 'http://creativecommons.org/licenses/by-sa/2.5/'
], [ ], [
'Ember.js', 'Ember.js',
'2013 Yehuda Katz, Tom Dale and Ember.js contributors', '2014 Yehuda Katz, Tom Dale and Ember.js contributors',
'MIT', 'MIT',
'https://raw.github.com/emberjs/ember.js/master/LICENSE' 'https://raw.github.com/emberjs/ember.js/master/LICENSE'
], [ ], [

@ -13,12 +13,14 @@ module Docs
end end
def get_type def get_type
# Group modules together
if at_css('.api-header').content.include?('Module') if at_css('.api-header').content.include?('Module')
'Modules' 'Modules'
# Group "Ember Data" together
elsif name.start_with? 'DS' elsif name.start_with? 'DS'
'Data' 'Data'
elsif name.start_with? 'RSVP'
'RSVP'
elsif name.start_with? 'Test'
'Test'
else else
name name
end end

@ -3,7 +3,7 @@ module Docs
self.name = 'Ember.js' self.name = 'Ember.js'
self.slug = 'ember' self.slug = 'ember'
self.type = 'ember' self.type = 'ember'
self.version = '1.2.0' self.version = '1.3.0'
self.base_url = 'http://emberjs.com/api/' self.base_url = 'http://emberjs.com/api/'
html_filters.push 'ember/clean_html', 'ember/entries', 'title' html_filters.push 'ember/clean_html', 'ember/entries', 'title'
@ -49,7 +49,7 @@ module Docs
options[:skip_patterns] = [/\._/] options[:skip_patterns] = [/\._/]
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2013 Yehuda Katz, Tom Dale and Ember.js contributors<br> &copy; 2014 Yehuda Katz, Tom Dale and Ember.js contributors<br>
Licensed under the MIT License. Licensed under the MIT License.
HTML HTML
end end

Loading…
Cancel
Save