liquid.rb 457 B

12345678910111213141516171819
  1. module Docs
  2. class Liquid < UrlScraper
  3. self.name = 'Liquid'
  4. self.type = 'liquid'
  5. self.base_url = "https://shopify.github.io/liquid/"
  6. self.links = {
  7. home: 'http://liquidmarkup.org/',
  8. code: 'https://github.com/shopify/liquid'
  9. }
  10. html_filters.push 'liquid/entries', 'liquid/clean_html'
  11. options[:attribution] = <<-HTML
  12. &copy; 2005, 2006 Tobias Luetke<br>
  13. Licensed under the MIT License.
  14. HTML
  15. end
  16. end