vue.rb 454 B

12345678910111213141516171819
  1. module Docs
  2. class Vue < UrlScraper
  3. self.name = 'Vue.js'
  4. self.slug = 'vue'
  5. self.type = 'vue'
  6. self.version = '0.12.5'
  7. self.base_url = 'http://vuejs.org/api/'
  8. html_filters.push 'vue/clean_html', 'vue/entries'
  9. options[:follow_links] = ->(filter) { filter.root_page? }
  10. options[:attribution] = <<-HTML
  11. &copy; 2014&ndash;2015 Evan You, Vue.js contributors<br>
  12. Licensed under the MIT License.
  13. HTML
  14. end
  15. end