Unified · Split
| @@ -3,7 +3,9 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | 4 | def additional_entries |
| 5 | 5 | css('ul.toc li').map do |node| |
| 6 | − ["R.#{node['data-name']}", node['data-name'], node['data-category'].sub('Relaction', 'Relation')] | |
| 6 | + # As of 2025-06-20, `data-category` attribute is missing on https://ramdajs.com/ for Ramda versions < 0.29.0. | |
| 7 | + # This results in missing type for entries – and docs cannot be generated. | |
| 8 | + ["R.#{node['data-name']}", node['data-name'], node['data-category']] | |
| 7 | 9 | end |
| 8 | 10 | end |
| 9 | 11 | end |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | module Docs |
| 2 | 2 | class Ramda < UrlScraper |
| 3 | 3 | self.type = 'ramda' |
| 4 | − self.release = '0.27.0' | |
| 4 | + self.release = '0.29.0' | |
| 5 | 5 | self.base_url = "https://ramdajs.com/#{release}/docs/" |
| 6 | 6 | self.links = { |
| 7 | 7 | home: 'http://ramdajs.com/', |
| @@ -12,7 +12,7 @@ module Docs · 4 unmodified lines | ||
| 12 | 12 | |
| 13 | 13 | options[:title] = 'Ramda' |
| 14 | 14 | options[:attribution] = <<-HTML |
| 15 | − © 2013–2020 Scott Sauyet and Michael Hurley<br> | |
| 15 | + © 2013–2024 Scott Sauyet and Michael Hurley<br> | |
| 16 | 16 | Licensed under the MIT License. |
| 17 | 17 | HTML |
| 18 | 18 | |