codeception.rb 606 B

12345678910111213141516171819202122
  1. module Docs
  2. class Codeception < UrlScraper
  3. self.name = 'Codeception'
  4. self.type = 'codeception'
  5. self.release = '2.4.0'
  6. self.base_url = 'https://codeception.com/docs/'
  7. self.root_path = 'index.html'
  8. self.links = {
  9. home: 'https://codeception.com/',
  10. code: 'https://github.com/codeception/codeception'
  11. }
  12. html_filters.push 'codeception/entries', 'codeception/clean_html'
  13. options[:skip_patterns] = [/install/]
  14. options[:attribution] = <<-HTML
  15. &copy; 2011 Michael Bodnarchuk and contributors<br>
  16. Licensed under the MIT License.
  17. HTML
  18. end
  19. end