Remove io.js documentation

pull/344/merge
Thibaut Courouble 9 years ago
parent 5f2d9cde50
commit f1b2ee07c5

@ -189,11 +189,6 @@ credits = [
'The University of Glasgow',
'BSD',
'https://www.haskell.org/ghc/license'
], [
'io.js',
'io.js contributors',
'MIT',
'https://raw.githubusercontent.com/iojs/io.js/v1.x/LICENSE'
], [
'jQuery',
'Packt Publishing<br>&copy; jQuery Foundation and other contributors',

@ -271,6 +271,7 @@ class App < Sinatra::Application
end
get %r{\A/([\w~\.]+)(\-[\w\-]+)?(/.*)?\z} do |doc, type, rest|
return redirect "/node#{type}#{rest}" if doc == 'iojs'
return 404 unless @doc = find_doc(doc)
if rest.nil?

@ -1,25 +0,0 @@
module Docs
class Iojs < UrlScraper
self.name = 'io.js'
self.slug = 'iojs'
self.type = 'node'
self.release = '3.3.1'
self.base_url = 'https://iojs.org/api/'
self.links = {
home: 'https://iojs.org/en/index.html',
code: 'https://github.com/iojs/io.js'
}
html_filters.push 'node/clean_html', 'node/entries', 'title'
options[:title] = false
options[:root_title] = 'io.js'
options[:container] = '#apicontent'
options[:skip] = %w(index.html all.html documentation.html synopsis.html)
options[:attribution] = <<-HTML
&copy; io.js contributors<br>
Licensed under the MIT License.
HTML
end
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

@ -1 +0,0 @@
https://iojs.org/
Loading…
Cancel
Save