diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index d974c553..c700c6c9 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -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
© jQuery Foundation and other contributors', diff --git a/lib/app.rb b/lib/app.rb index 55704afa..faef0d55 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -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? diff --git a/lib/docs/scrapers/iojs.rb b/lib/docs/scrapers/iojs.rb deleted file mode 100644 index 94aac066..00000000 --- a/lib/docs/scrapers/iojs.rb +++ /dev/null @@ -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 - © io.js contributors
- Licensed under the MIT License. - HTML - end -end diff --git a/public/icons/docs/iojs/16.png b/public/icons/docs/iojs/16.png deleted file mode 100644 index 9d77a02a..00000000 Binary files a/public/icons/docs/iojs/16.png and /dev/null differ diff --git a/public/icons/docs/iojs/16@2x.png b/public/icons/docs/iojs/16@2x.png deleted file mode 100644 index 00f2052a..00000000 Binary files a/public/icons/docs/iojs/16@2x.png and /dev/null differ diff --git a/public/icons/docs/iojs/SOURCE b/public/icons/docs/iojs/SOURCE deleted file mode 100644 index abf5842a..00000000 --- a/public/icons/docs/iojs/SOURCE +++ /dev/null @@ -1 +0,0 @@ -https://iojs.org/