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
801 B
26 lines
801 B
module Docs
|
|
class Statsmodels < UrlScraper
|
|
self.type = 'sphinx'
|
|
self.release = '0.9.0'
|
|
self.base_url = 'http://www.statsmodels.org/stable/'
|
|
self.root_path = 'index.html'
|
|
self.links = {
|
|
home: 'http://www.statsmodels.org/',
|
|
code: 'https://github.com/statsmodels/statsmodels/'
|
|
}
|
|
|
|
html_filters.push 'statsmodels/entries', 'statsmodels/clean_html', 'sphinx/clean_html'
|
|
|
|
options[:skip] = %w(about.html search.html genindex.html)
|
|
options[:skip_patterns] = [/\Arelease/, /\Adev/, /\A_modules/, /\Adatasets/]
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2009–2012 Statsmodels Developers<br>
|
|
© 2006–2008 Scipy Developers<br>
|
|
© 2006 Jonathan E. Taylor<br>
|
|
Licensed under the 3-clause BSD License.
|
|
HTML
|
|
|
|
end
|
|
end
|