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.
26 lines
607 B
26 lines
607 B
3 years ago
|
module Docs
|
||
|
|
||
|
class Sanctuary < UrlScraper
|
||
|
self.name = "Sanctuary"
|
||
|
self.slug = "sanctuary"
|
||
|
self.type = "sanctuary"
|
||
|
self.release = "3.1.0"
|
||
|
self.base_url = "https://sanctuary.js.org/"
|
||
|
self.links = {
|
||
|
home: "https://sanctuary.js.org/",
|
||
|
code: "https://github.com/sanctuary-js/sanctuary",
|
||
|
}
|
||
|
|
||
|
html_filters.push("sanctuary/entries")
|
||
|
html_filters.push("sanctuary/clean_html")
|
||
|
|
||
|
options[:title] = "Sanctuary"
|
||
|
options[:attribution] = "Licensed under the MIT License."
|
||
|
|
||
|
def get_latest_version(opts)
|
||
|
get_npm_version("sanctuary", opts)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|