|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
module Docs
|
|
|
|
|
class Redis < UrlScraper
|
|
|
|
|
self.type = 'redis'
|
|
|
|
|
self.release = '5.0.0'
|
|
|
|
|
self.release = '6.0.9'
|
|
|
|
|
self.base_url = 'https://redis.io/commands'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'https://redis.io/',
|
|
|
|
|
code: 'https://github.com/antirez/redis'
|
|
|
|
|
code: 'https://github.com/redis/redis'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html_filters.push 'redis/entries', 'redis/clean_html', 'title'
|
|
|
|
@ -16,7 +16,7 @@ module Docs
|
|
|
|
|
options[:follow_links] = ->(filter) { filter.root_page? }
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2009–2018 Salvatore Sanfilippo<br>
|
|
|
|
|
© 2009–2020 Salvatore Sanfilippo<br>
|
|
|
|
|
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
|
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|