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.
25 lines
661 B
25 lines
661 B
module Docs
|
|
class Openlayers < UrlScraper
|
|
self.name = 'OpenLayers'
|
|
self.type = 'openlayers'
|
|
self.slug = 'openlayers'
|
|
self.release = '10.4.0'
|
|
self.base_url = "https://openlayers.org/en/latest/apidoc/"
|
|
self.links = {
|
|
home: 'https://openlayers.org/',
|
|
code: 'https://github.com/openlayers/openlayers'
|
|
}
|
|
|
|
html_filters.push 'openlayers/entries', 'openlayers/clean_html'
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2005-present, OpenLayers Contributors All rights reserved.
|
|
Licensed under the BSD 2-Clause License.
|
|
HTML
|
|
|
|
def get_latest_version(opts)
|
|
get_npm_version('ol', opts)
|
|
end
|
|
end
|
|
end
|