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.
19 lines
444 B
19 lines
444 B
![]()
8 years ago
|
module Docs
|
||
|
class D < UrlScraper
|
||
|
self.release = '2.075.1'
|
||
|
self.type = 'd'
|
||
|
self.base_url = 'http://dlang.org/phobos/'
|
||
|
|
||
|
html_filters.push 'd/entries', 'd/clean_html'
|
||
|
|
||
|
options[:container] = '#content'
|
||
|
options[:title] = false
|
||
|
options[:root_title] = 'D Language'
|
||
|
options[:skip_patterns] = [/#.*/]
|
||
|
|
||
|
options[:attribution] = <<-HTML
|
||
|
Copyright © 1999-2017 by the D Language Foundation
|
||
|
HTML
|
||
|
end
|
||
|
end
|