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.
22 lines
528 B
22 lines
528 B
module Docs
|
|
class Nim < UrlScraper
|
|
self.type = 'nim'
|
|
self.release = '0.18.0'
|
|
self.base_url = 'https://nim-lang.org/docs/'
|
|
self.root_path = 'overview.html'
|
|
self.links = {
|
|
home: 'https://nim-lang.org/',
|
|
code: 'https://github.com/nim-lang/Nim'
|
|
}
|
|
|
|
html_filters.push 'nim/entries', 'nim/clean_html'
|
|
|
|
options[:skip] = %w(theindex.html docgen.txt)
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2006–2017 Andreas Rumpf<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|