2015-07-05 13:32:37 +02:00
|
|
|
module Docs
|
2016-02-28 18:07:06 +01:00
|
|
|
class Q < Github
|
2015-07-05 13:32:37 +02:00
|
|
|
self.name = 'Q'
|
2017-10-29 19:47:35 +01:00
|
|
|
self.release = '1.5.1'
|
2015-08-02 18:47:13 +02:00
|
|
|
self.base_url = 'https://github.com/kriskowal/q/wiki/'
|
|
|
|
self.root_path = 'API-Reference'
|
2015-07-05 13:32:37 +02:00
|
|
|
self.links = {
|
2015-08-02 18:47:13 +02:00
|
|
|
home: 'http://documentup.com/kriskowal/q/',
|
|
|
|
code: 'https://github.com/kriskowal/q'
|
2015-07-05 13:32:37 +02:00
|
|
|
}
|
|
|
|
|
2016-02-28 18:07:06 +01:00
|
|
|
html_filters.push 'q/entries', 'title'
|
2015-07-05 13:32:37 +02:00
|
|
|
|
2015-08-02 18:47:13 +02:00
|
|
|
options[:container] = '.markdown-body'
|
2015-07-05 13:32:37 +02:00
|
|
|
options[:title] = 'Q'
|
|
|
|
options[:skip_links] = true
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
2017-03-25 17:05:21 +01:00
|
|
|
© 2009–2017 Kristopher Michael Kowal<br>
|
2015-08-02 18:47:13 +02:00
|
|
|
Licensed under the MIT License.
|
2015-07-05 13:32:37 +02:00
|
|
|
HTML
|
2019-03-09 20:22:48 +01:00
|
|
|
|
2019-03-10 03:02:24 +01:00
|
|
|
def get_latest_version(opts)
|
|
|
|
get_npm_version('q', opts)
|
2019-03-09 20:22:48 +01:00
|
|
|
end
|
2015-07-05 13:32:37 +02:00
|
|
|
end
|
|
|
|
end
|