Showing the changes to lib/docs (2 of 8 files). Show all
Unified · Split
| @@ -15,7 +15,7 @@ module Docs · 14 unmodified lines | ||
| 15 | 15 | (slug.include?('index') && !node.content.include?('.')) |
| 16 | 16 | end |
| 17 | 17 | .map do |node| |
| 18 | − name = node.content.sub(/\(.*\)$/, '') | |
| 18 | + name = node.content.strip.sub(/\(.*\)\z/, '()') | |
| 19 | 19 | type = 'API' if type == @root_type && name.include?('.') |
| 20 | 20 | [name, node['id'], type] |
| 21 | 21 | end |
| @@ -3,7 +3,7 @@ · 2 unmodified lines | ||
| 3 | 3 | module Docs |
| 4 | 4 | class Koa < Github |
| 5 | 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 | 8 | self.root_path = 'api/index.md' |
| 9 | 9 | self.initial_paths = %w[ |
| @@ -31,7 +31,7 @@ module Docs · 21 unmodified lines | ||
| 31 | 31 | options[:container] = '.markdown-body' |
| 32 | 32 | |
| 33 | 33 | options[:attribution] = <<-HTML |
| 34 | − © 2017 Koa contributors<br> | |
| 34 | + © 2018 Koa contributors<br> | |
| 35 | 35 | Licensed under the MIT License. |
| 36 | 36 | HTML |
| 37 | 37 | end |