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.
21 lines
492 B
21 lines
492 B
module Docs
|
|
class Socketio < UrlScraper
|
|
self.name = 'Socket.IO'
|
|
self.slug = 'socketio'
|
|
self.type = 'socketio'
|
|
self.version = '1.2.1'
|
|
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 Automattic<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|