q.rb 649 B

123456789101112131415161718192021222324
  1. module Docs
  2. class Q < UrlScraper
  3. self.name = 'Q'
  4. self.type = 'q'
  5. self.release = '1.4.1'
  6. self.base_url = 'https://github.com/kriskowal/q/wiki/'
  7. self.root_path = 'API-Reference'
  8. self.links = {
  9. home: 'http://documentup.com/kriskowal/q/',
  10. code: 'https://github.com/kriskowal/q'
  11. }
  12. html_filters.push 'q/clean_html', 'q/entries', 'title'
  13. options[:container] = '.markdown-body'
  14. options[:title] = 'Q'
  15. options[:skip_links] = true
  16. options[:attribution] = <<-HTML
  17. &copy; 2009&ndash;2015 Kristopher Michael Kowal and contributors<br>
  18. Licensed under the MIT License.
  19. HTML
  20. end
  21. end