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.
25 lines
613 B
25 lines
613 B
module Docs
|
|
class Socketio < UrlScraper
|
|
self.name = 'Socket.IO'
|
|
self.slug = 'socketio'
|
|
self.type = 'socketio'
|
|
self.release = '1.4.5'
|
|
self.base_url = 'http://socket.io/docs/'
|
|
self.links = {
|
|
home: 'http://socket.io/',
|
|
code: 'https://github.com/socketio/socket.io'
|
|
}
|
|
|
|
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
|