Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 83 KiB |
@ -1,6 +0,0 @@
|
|||||||
#= require views/pages/base
|
|
||||||
|
|
||||||
class app.views.QPage extends app.views.BasePage
|
|
||||||
afterRender: ->
|
|
||||||
@highlightCode @findAll('.highlight-js > pre'), 'javascript'
|
|
||||||
return
|
|
@ -1,5 +1,5 @@
|
|||||||
._q {
|
._q {
|
||||||
> h3 { @extend %block-heading; }
|
> h2, > h3 { @extend %block-heading; }
|
||||||
> h4 { @extend %block-label, %label-blue; }
|
> h4 { @extend %block-label, %label-blue; }
|
||||||
code { @extend %label; }
|
code { @extend %label; }
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,24 @@
|
|||||||
module Docs
|
module Docs
|
||||||
class Q < UrlScraper
|
class Q < UrlScraper
|
||||||
self.name = 'Q'
|
self.name = 'Q'
|
||||||
self.slug = 'Q'
|
self.type = 'q'
|
||||||
self.type = 'Q'
|
|
||||||
self.version = '1.4.1'
|
self.version = '1.4.1'
|
||||||
self.base_url = "https://github.com/kriskowal/q/wiki/API-Reference"
|
self.base_url = 'https://github.com/kriskowal/q/wiki/'
|
||||||
|
self.root_path = 'API-Reference'
|
||||||
self.links = {
|
self.links = {
|
||||||
home: 'https://github.com/kriskowal/q/',
|
home: 'http://documentup.com/kriskowal/q/',
|
||||||
code: 'https://github.com/kriskowal/q/'
|
code: 'https://github.com/kriskowal/q'
|
||||||
}
|
}
|
||||||
|
|
||||||
html_filters.push 'q/clean_html', 'q/entries', 'title'
|
html_filters.push 'q/clean_html', 'q/entries', 'title'
|
||||||
|
|
||||||
|
options[:container] = '.markdown-body'
|
||||||
options[:title] = 'Q'
|
options[:title] = 'Q'
|
||||||
options[:skip_links] = true
|
options[:skip_links] = true
|
||||||
|
|
||||||
options[:attribution] = <<-HTML
|
options[:attribution] = <<-HTML
|
||||||
Licensed under the MIT License.
|
© 2009–2015 Kristopher Michael Kowal and contributors<br>
|
||||||
|
Licensed under the MIT License.
|
||||||
HTML
|
HTML
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 2.0 KiB |