Unified · Split
| @@ -1,7 +1,7 @@ | |||
| 1 | [ | 1 | [ |
| 2 | [ | 2 | [ |
| 3 | "2018-07-08", | 3 | "2018-07-08", |
| 4 | "New documentations: <a href=\"/leaflet/\">Leaflet</a>, <a href=\"/terraform/\">Terraform</a>" | 4 | "New documentations: <a href=\"/leaflet/\">Leaflet</a>, <a href=\"/terraform/\">Terraform</a> and <a href=\"/koa/\">Koa</a>" |
| 5 | ], [ | 5 | ], [ |
| 6 | "2018-03-26", | 6 | "2018-03-26", |
| 7 | "DevDocs is joining the freeCodeCamp community. Read the announcement <a href=\"https://medium.freecodecamp.org/devdocs-is-joining-the-freecodecamp-community-ae185a1c14a6\" target=\"_blank\">here</a>." | 7 | "DevDocs is joining the freeCodeCamp community. Read the announcement <a href=\"https://medium.freecodecamp.org/devdocs-is-joining-the-freecodecamp-community-ae185a1c14a6\" target=\"_blank\">here</a>." |
| @@ -365,6 +365,11 @@ credits = [ · 364 unmodified lines | |||
| 365 | 'Steven Sanderson, the Knockout.js team, and other contributors', | 365 | 'Steven Sanderson, the Knockout.js team, and other contributors', |
| 366 | 'MIT', | 366 | 'MIT', |
| 367 | 'https://raw.githubusercontent.com/knockout/knockout/master/LICENSE' | 367 | 'https://raw.githubusercontent.com/knockout/knockout/master/LICENSE' |
| 368 | ], [ | ||
| 369 | 'Koa', | ||
| 370 | '2018 Koa contributors', | ||
| 371 | 'MIT', | ||
| 372 | 'https://raw.githubusercontent.com/koajs/koa/master/LICENSE' | ||
| 368 | ], [ | 373 | ], [ |
| 369 | 'Kotlin', | 374 | 'Kotlin', |
| 370 | '2010-2018 JetBrains s.r.o.', | 375 | '2010-2018 JetBrains s.r.o.', |
| @@ -93,6 +93,7 @@ · 92 unmodified lines | |||
| 93 | ._icon-svg:before { background-position: -5rem -5rem; } | 93 | ._icon-svg:before { background-position: -5rem -5rem; } |
| 94 | ._icon-marionette:before { background-position: -6rem -5rem; } | 94 | ._icon-marionette:before { background-position: -6rem -5rem; } |
| 95 | ._icon-jsdoc:before, | 95 | ._icon-jsdoc:before, |
| 96 | ._icon-koa:before, | ||
| 96 | ._icon-mongoose:before { background-position: -7rem -5rem; } | 97 | ._icon-mongoose:before { background-position: -7rem -5rem; } |
| 97 | ._icon-phpunit:before { background-position: -8rem -5rem; } | 98 | ._icon-phpunit:before { background-position: -8rem -5rem; } |
| 98 | ._icon-nokogiri:before { background-position: -9rem -5rem; @extend %darkIconFix !optional; } | 99 | ._icon-nokogiri:before { background-position: -9rem -5rem; @extend %darkIconFix !optional; } |
| @@ -15,7 +15,7 @@ module Docs · 14 unmodified lines | |||
| 15 | (slug.include?('index') && !node.content.include?('.')) | 15 | (slug.include?('index') && !node.content.include?('.')) |
| 16 | end | 16 | end |
| 17 | .map do |node| | 17 | .map do |node| |
| 18 | name = node.content.sub(/\(.*\)$/, '') | 18 | name = node.content.strip.sub(/\(.*\)\z/, '()') |
| 19 | type = 'API' if type == @root_type && name.include?('.') | 19 | type = 'API' if type == @root_type && name.include?('.') |
| 20 | [name, node['id'], type] | 20 | [name, node['id'], type] |
| 21 | end | 21 | end |
| @@ -3,7 +3,7 @@ · 2 unmodified lines | |||
| 3 | module Docs | 3 | module Docs |
| 4 | class Koa < Github | 4 | class Koa < Github |
| 5 | self.base_url = 'https://github.com/koajs/koa/blob/master/docs/' | 5 | self.base_url = 'https://github.com/koajs/koa/blob/master/docs/' |
| 6 | self.release = '2.4.1' | 6 | self.release = '2.5.1' |
| 7 | 7 | ||
| 8 | self.root_path = 'api/index.md' | 8 | self.root_path = 'api/index.md' |
| 9 | self.initial_paths = %w[ | 9 | self.initial_paths = %w[ |
| @@ -31,7 +31,7 @@ module Docs · 21 unmodified lines | |||
| 31 | options[:container] = '.markdown-body' | 31 | options[:container] = '.markdown-body' |
| 32 | 32 | ||
| 33 | options[:attribution] = <<-HTML | 33 | options[:attribution] = <<-HTML |
| 34 | © 2017 Koa contributors<br> | 34 | © 2018 Koa contributors<br> |
| 35 | Licensed under the MIT License. | 35 | Licensed under the MIT License. |
| 36 | HTML | 36 | HTML |
| 37 | end | 37 | end |
Binary file not shown.
Binary file not shown.
| @@ -1 +0,0 @@ | |||
| 1 | https://github.com/github/explore/blob/db7f2f28385d413ba9e03a635009b3434c9710fc/topics/koa/koa.png | ||