marionette.rb 635 B

1234567891011121314151617181920212223
  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.3'
  7. self.base_url = "http://marionettejs.com/docs/v#{version}/"
  8. self.root_path = 'index'
  9. self.links = {
  10. home: 'http://marionettejs.com/',
  11. code: 'https://github.com/marionettejs/backbone.marionette'
  12. }
  13. html_filters.push 'marionette/clean_html', 'marionette/entries'
  14. options[:container] = '.docs__content'
  15. options[:attribution] = <<-HTML
  16. &copy; 2015 Muted Solutions, LLC<br>
  17. Licensed under the MIT License.
  18. HTML
  19. end
  20. end