|
|
|
module Docs
|
|
|
|
class Socketio < UrlScraper
|
|
|
|
self.name = 'Socket.IO'
|
|
|
|
self.slug = 'socketio'
|
|
|
|
self.type = 'socketio'
|
|
|
|
self.version = '1.3.2'
|
|
|
|
self.base_url = 'http://socket.io/docs/'
|
|
|
|
|
|
|
|
html_filters.push 'socketio/clean_html', 'socketio/entries'
|
|
|
|
|
|
|
|
options[:container] = '#content'
|
|
|
|
options[:trailing_slash] = false
|
|
|
|
options[:skip] = %w(faq)
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2014–2015 Automattic<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
end
|
|
|
|
end
|