Unified · Split
| @@ -3,7 +3,9 @@ module Docs · 2 unmodified lines | |||
| 3 | class EntriesFilter < Docs::EntriesFilter | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | def additional_entries | 4 | def additional_entries |
| 5 | css('ul.toc li').map do |node| | 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 | end | 9 | end |
| 8 | end | 10 | end |
| 9 | end | 11 | end |
| @@ -1,7 +1,7 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Ramda < UrlScraper | 2 | class Ramda < UrlScraper |
| 3 | self.type = 'ramda' | 3 | self.type = 'ramda' |
| 4 | self.release = '0.27.0' | 4 | self.release = '0.29.0' |
| 5 | self.base_url = "https://ramdajs.com/#{release}/docs/" | 5 | self.base_url = "https://ramdajs.com/#{release}/docs/" |
| 6 | self.links = { | 6 | self.links = { |
| 7 | home: 'http://ramdajs.com/', | 7 | home: 'http://ramdajs.com/', |
| @@ -12,7 +12,7 @@ module Docs · 4 unmodified lines | |||
| 12 | 12 | ||
| 13 | options[:title] = 'Ramda' | 13 | options[:title] = 'Ramda' |
| 14 | options[:attribution] = <<-HTML | 14 | options[:attribution] = <<-HTML |
| 15 | © 2013–2020 Scott Sauyet and Michael Hurley<br> | 15 | © 2013–2024 Scott Sauyet and Michael Hurley<br> |
| 16 | Licensed under the MIT License. | 16 | Licensed under the MIT License. |
| 17 | HTML | 17 | HTML |
| 18 | 18 | ||