mirror of https://github.com/freeCodeCamp/devdocs
parent
d27dc0b04d
commit
53bbc1f1e8
@ -0,0 +1,22 @@
|
||||
module Docs
|
||||
class Ionic < UrlScraper
|
||||
self.name = 'Ionic'
|
||||
self.slug = 'ionic'
|
||||
self.type = 'ionic'
|
||||
self.base_url = 'http://ionicframework.com/docs/v2'
|
||||
self.links = {
|
||||
home: 'https://ionic.io/',
|
||||
code: 'https://github.com/driftyco/ionic'
|
||||
}
|
||||
|
||||
html_filters.push 'ionic/clean_html', 'ionic/entries', 'title'
|
||||
|
||||
options[:root_title] = 'Ionic'
|
||||
options[:only_patterns] = [/reference\//, /api\//]
|
||||
options[:skip_patterns] = [/api\/index/]
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
Ionic is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.
|
||||
HTML
|
||||
end
|
||||
end
|
Loading…
Reference in new issue