|
|
@@ -0,0 +1,26 @@
|
|
|
+module Docs
|
|
|
+ class Statsmodels < UrlScraper
|
|
|
+ self.name = 'Statsmodels'
|
|
|
+ self.type = 'sphinx'
|
|
|
+ self.release = '0.6.1'
|
|
|
+ self.base_url = "http://statsmodels.sourceforge.net/stable/"
|
|
|
+ self.root_path = 'index.html'
|
|
|
+ self.links = {
|
|
|
+ home: 'http://statsmodels.sourceforge.net/',
|
|
|
+ code: 'https://github.com/statsmodels/statsmodels/'
|
|
|
+ }
|
|
|
+
|
|
|
+ html_filters.push 'statsmodels/entries', 'statsmodels/clean_html', 'sphinx/clean_html'
|
|
|
+
|
|
|
+ options[:skip] = %w(about.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
|