Update Marionette documentation (2.4.1)

pull/185/head
Thibaut 10 years ago
parent 57a94bfac5
commit 2bbb35b7da

@ -207,7 +207,7 @@ credits = [
'http://www.lua.org/license.html' 'http://www.lua.org/license.html'
], [ ], [
'Marionette.js', 'Marionette.js',
'2014 Muted Solutions, LLC', '2015 Muted Solutions, LLC',
'MIT', 'MIT',
'http://mutedsolutions.mit-license.org/' 'http://mutedsolutions.mit-license.org/'
], [ ], [

@ -4,4 +4,5 @@
> h1, > h2 { margin-left: -1rem; } > h1, > h2 { margin-left: -1rem; }
> h2 { @extend %block-heading; } > h2 { @extend %block-heading; }
> h3 { @extend %block-label, %label-blue; } > h3 { @extend %block-label, %label-blue; }
blockquote { @extend %note; }
} }

@ -8,6 +8,7 @@ module Docs
def root def root
at_css('p').remove at_css('p').remove
at_css('h1').content = 'Backbone.Marionette'
end end
def other def other

@ -3,24 +3,16 @@ module Docs
self.name = 'Marionette.js' self.name = 'Marionette.js'
self.slug = 'marionette' self.slug = 'marionette'
self.type = 'marionette' self.type = 'marionette'
self.version = '2.3.0' self.version = '2.4.1'
self.base_url = 'http://marionettejs.com/docs/' self.base_url = "http://marionettejs.com/docs/v#{version}/"
self.root_path = 'current' self.root_path = 'index'
html_filters.push 'marionette/clean_html', 'marionette/entries' html_filters.push 'marionette/clean_html', 'marionette/entries'
options[:container] = '#content' options[:container] = '.docs__content'
options[:skip] = %w(/readme.html)
options[:skip_patterns] = [/\A\/v\d/]
options[:fix_urls] = ->(url) do
url.sub! %r{marionette([^\/#\?]*)\.md}, 'marionette\1'
url
end
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2014 Muted Solutions, LLC<br> &copy; 2015 Muted Solutions, LLC<br>
Licensed under the MIT License. Licensed under the MIT License.
HTML HTML
end end

Loading…
Cancel
Save