1
0

codeception.rb 687 B

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