q.rb 527 B

12345678910111213141516171819202122
  1. module Docs
  2. class Q < UrlScraper
  3. self.name = 'Q'
  4. self.slug = 'Q'
  5. self.type = 'Q'
  6. self.version = '1.4.1'
  7. self.base_url = "https://github.com/kriskowal/q/wiki/API-Reference"
  8. self.links = {
  9. home: 'https://github.com/kriskowal/q/',
  10. code: 'https://github.com/kriskowal/q/'
  11. }
  12. html_filters.push 'q/clean_html', 'q/entries', 'title'
  13. options[:title] = 'Q'
  14. options[:skip_links] = true
  15. options[:attribution] = <<-HTML
  16. Licensed under the MIT License.
  17. HTML
  18. end
  19. end