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.
devdocs/lib/docs/scrapers/socketio.rb

25 lines
613 B

module Docs
class Socketio < UrlScraper
self.name = 'Socket.IO'
self.slug = 'socketio'
self.type = 'socketio'
self.version = '1.3.6'
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
&copy; 2014&ndash;2015 Automattic<br>
Licensed under the MIT License.
HTML
end
end