|
@@ -2,18 +2,21 @@ module Docs
|
|
|
class Liquid < UrlScraper
|
|
class Liquid < UrlScraper
|
|
|
self.name = 'Liquid'
|
|
self.name = 'Liquid'
|
|
|
self.type = 'liquid'
|
|
self.type = 'liquid'
|
|
|
- self.base_url = "https://shopify.github.io/liquid/"
|
|
|
|
|
|
|
+ self.base_url = 'https://shopify.github.io/liquid/'
|
|
|
|
|
+ self.release = '4.0.0'
|
|
|
self.links = {
|
|
self.links = {
|
|
|
- home: 'http://liquidmarkup.org/',
|
|
|
|
|
- code: 'https://github.com/shopify/liquid'
|
|
|
|
|
|
|
+ home: 'https://shopify.github.io/liquid/',
|
|
|
|
|
+ code: 'https://github.com/Shopify/liquid'
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- html_filters.push 'liquid/entries', 'liquid/clean_html'
|
|
|
|
|
|
|
+ html_filters.push 'liquid/entries', 'liquid/clean_html', 'title'
|
|
|
|
|
+
|
|
|
|
|
+ options[:title] = false
|
|
|
|
|
+ options[:root_title] = 'Liquid'
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
options[:attribution] = <<-HTML
|
|
|
© 2005, 2006 Tobias Luetke<br>
|
|
© 2005, 2006 Tobias Luetke<br>
|
|
|
Licensed under the MIT License.
|
|
Licensed under the MIT License.
|
|
|
HTML
|
|
HTML
|
|
|
-
|
|
|
|
|
end
|
|
end
|
|
|
end
|
|
end
|