mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
485 B
19 lines
485 B
module Docs
|
|
class Yii < UrlScraper
|
|
self.type = 'yii'
|
|
self.version = '2.0.2'
|
|
self.base_url = 'http://www.yiiframework.com/doc-2.0/'
|
|
self.root_path = 'index.html'
|
|
|
|
html_filters.push 'yii/clean_html', 'yii/entries'
|
|
|
|
options[:container] = 'div[role=main]'
|
|
options[:skip_patterns] = [/\Ayii-apidoc/]
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2008–2015 by Yii Software LLC<br>
|
|
Licensed under the three clause BSD license.
|
|
HTML
|
|
end
|
|
end
|