diff --git a/assets/images/icons.png b/assets/images/icons.png index 527b5394..5340b31d 100644 Binary files a/assets/images/icons.png and b/assets/images/icons.png differ diff --git a/assets/images/icons@2x.png b/assets/images/icons@2x.png index c76958fd..814076d1 100644 Binary files a/assets/images/icons@2x.png and b/assets/images/icons@2x.png differ diff --git a/assets/javascripts/news.json b/assets/javascripts/news.json index 493be49d..98533185 100644 --- a/assets/javascripts/news.json +++ b/assets/javascripts/news.json @@ -1,5 +1,8 @@ [ - [ "2015-02-08", + [ "2015-02-15", + "New io.js documentation" + ], [ + "2015-02-08", "New dark theme\nClick the icon in the bottom left corner to activate.\nFeedback welcome :)" ], [ "2015-01-13", diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 61456ddd..a5818880 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -160,6 +160,11 @@ credits = [ '1999 The Internet Society', 'Custom', 'http://www.w3.org/Protocols/rfc2616/rfc2616-sec21.html#sec21' + ], [ + 'io.js', + 'io.js contributors', + 'MIT', + 'https://raw.githubusercontent.com/iojs/io.js/v1.x/LICENSE' ], [ 'jQuery', '2009 Packt Publishing
© 2014 jQuery Foundation', diff --git a/assets/stylesheets/global/_icons.scss b/assets/stylesheets/global/_icons.scss index f5471821..d89d4119 100644 --- a/assets/stylesheets/global/_icons.scss +++ b/assets/stylesheets/global/_icons.scss @@ -84,3 +84,4 @@ %icon-check-white { background-position: -4rem -13rem; } %icon-light { background-position: 0 -14rem; } %icon-light-white { background-position: -1rem -14rem; } +._icon-iojs:before { background-position: -2rem -14rem; } diff --git a/lib/docs/scrapers/iojs.rb b/lib/docs/scrapers/iojs.rb new file mode 100644 index 00000000..36811af5 --- /dev/null +++ b/lib/docs/scrapers/iojs.rb @@ -0,0 +1,21 @@ +module Docs + class Iojs < UrlScraper + self.name = 'io.js' + self.slug = 'iojs' + self.type = 'node' + self.version = '1.2.0' + self.base_url = 'https://iojs.org/api/' + + 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 new file mode 100644 index 00000000..9d77a02a Binary files /dev/null and b/public/icons/docs/iojs/16.png differ diff --git a/public/icons/docs/iojs/16@2x.png b/public/icons/docs/iojs/16@2x.png new file mode 100644 index 00000000..00f2052a Binary files /dev/null and b/public/icons/docs/iojs/16@2x.png differ diff --git a/public/icons/docs/iojs/SOURCE b/public/icons/docs/iojs/SOURCE new file mode 100644 index 00000000..abf5842a --- /dev/null +++ b/public/icons/docs/iojs/SOURCE @@ -0,0 +1 @@ +https://iojs.org/