pony.rb 325 B

1234567891011
  1. module Docs
  2. class Pony < UrlScraper
  3. self.type = 'pony'
  4. self.release = '0.25.0'
  5. self.base_url = 'https://stdlib.ponylang.io/'
  6. html_filters.push 'pony/container', 'pony/entries', 'pony/clean_html'
  7. options[:attribution] = "Me"
  8. options[:follow_links] = ->(filter) { filter.subpath !~ /src/ }
  9. end
  10. end