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.
devdocs/lib/docs/scrapers/jsdoc.rb

26 lines
725 B

7 years ago
module Docs
class Jsdoc < UrlScraper
self.name = 'JSDoc'
self.type = 'simple'
7 years ago
self.release = '3.5.5'
self.base_url = 'http://usejsdoc.org/'
self.root_path = 'index.html'
7 years ago
self.links = {
home: 'http://usejsdoc.org/',
code: 'https://github.com/jsdoc3/jsdoc'
}
html_filters.push 'jsdoc/clean_html', 'jsdoc/entries'
options[:trailing_slash] = false
options[:container] = 'article'
options[:skip] = [
'about-license-jsdoc3.html'
]
options[:attribution] = <<-HTML
&copy; 2011&ndash;2017 the contributors to the JSDoc 3 documentation project<br>
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
7 years ago
HTML
end
end