module Docs class Mocha < UrlScraper self.type = 'simple' self.release = '9.0.2' self.base_url = 'https://mochajs.org/' self.links = { home: 'https://mochajs.org/', code: 'https://github.com/mochajs/mocha' } html_filters.push 'mocha/clean_html', 'mocha/entries', 'title' options[:container] = '#content' options[:title] = 'mocha' options[:skip_links] = true options[:attribution] = <<-HTML © 2011–2021 JS Foundation and contributors
Licensed under the Creative Commons Attribution 4.0 International License. HTML def get_latest_version(opts) get_npm_version('mocha', opts) end end end