mirror of https://github.com/freeCodeCamp/devdocs
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.
28 lines
735 B
28 lines
735 B
module Docs
|
|
class Pony < UrlScraper
|
|
self.type = 'simple'
|
|
self.release = '0.30.0'
|
|
self.base_url = 'https://stdlib.ponylang.io/'
|
|
self.links = {
|
|
home: 'https://www.ponylang.io/',
|
|
code: 'https://github.com/ponylang/ponyc'
|
|
}
|
|
|
|
html_filters.push 'pony/clean_html', 'pony/entries'
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2016-2018, The Pony Developers<br>
|
|
© 2014-2015, Causality Ltd.<br>
|
|
Licensed under the BSD 2-Clause License.
|
|
HTML
|
|
|
|
options[:container] = 'article'
|
|
options[:trailing_slash] = false
|
|
options[:skip_patterns] = [/src/, /stdlib--index/]
|
|
|
|
def get_latest_version(opts)
|
|
get_latest_github_release('ponylang', 'ponyc', opts)
|
|
end
|
|
end
|
|
end
|