You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/pony.rb

13 lines
370 B

module Docs
class Pony < UrlScraper
self.type = 'pony'
self.release = '0.25.0'
self.base_url = 'http://localhost:2015'
#self.base_url = 'https://stdlib.ponylang.io/'
html_filters.push 'pony/container', 'pony/entries', 'pony/clean_html'
options[:attribution] = "Me"
options[:follow_links] = ->(filter) { filter.subpath !~ /src/ }
end
end