marionette.rb 504 B

12345678910111213141516171819
  1. module Docs
  2. class Marionette < UrlScraper
  3. self.name = 'Marionette.js'
  4. self.slug = 'marionette'
  5. self.type = 'marionette'
  6. self.version = '2.4.1'
  7. self.base_url = "http://marionettejs.com/docs/v#{version}/"
  8. self.root_path = 'index'
  9. html_filters.push 'marionette/clean_html', 'marionette/entries'
  10. options[:container] = '.docs__content'
  11. options[:attribution] = <<-HTML
  12. &copy; 2015 Muted Solutions, LLC<br>
  13. Licensed under the MIT License.
  14. HTML
  15. end
  16. end