Fixes #68.
Showing the changes to lib/docs (2 of 3 files). Show all
Unified · Split
| @@ -12,6 +12,12 @@ module Docs · 11 unmodified lines | ||
| 12 | 12 | name = heading.content |
| 13 | 13 | name.sub! %r{\(.+?\)}, '()' |
| 14 | 14 | entries << [name, heading['id'], type] |
| 15 | + | |
| 16 | + if h4 = heading.parent.at_css('h4') and h4.content.strip == 'Aliases' | |
| 17 | + h4.next_element.content.split(',').each do |n| | |
| 18 | + entries << ["#{n.strip}()", heading['id'], type] | |
| 19 | + end | |
| 20 | + end | |
| 15 | 21 | end |
| 16 | 22 | end |
| 17 | 23 | |
| @@ -4,7 +4,7 @@ module Docs · 3 unmodified lines | ||
| 4 | 4 | self.slug = 'lodash' |
| 5 | 5 | self.type = 'lodash' |
| 6 | 6 | self.version = '2.4.1' |
| 7 | − self.base_url = 'http://lodash.com/docs' | |
| 7 | + self.base_url = 'https://lodash.com/docs' | |
| 8 | 8 | |
| 9 | 9 | html_filters.push 'lodash/clean_html', 'lodash/entries', 'title' |
| 10 | 10 | |
| @@ -13,7 +13,7 @@ module Docs · 2 unmodified lines | ||
| 13 | 13 | options[:skip_links] = true |
| 14 | 14 | |
| 15 | 15 | options[:attribution] = <<-HTML |
| 16 | − © 2012–2013 The Dojo Foundation<br> | |
| 16 | + © 2012–2014 The Dojo Foundation<br> | |
| 17 | 17 | Licensed under the MIT License. |
| 18 | 18 | HTML |
| 19 | 19 | end |