| 123456789101112131415161718192021222324252627 |
- module Docs
- class Trio < UrlScraper
- self.type = 'simple'
- self.release = '0.11'
- self.base_url = 'https://trio.readthedocs.io/en/latest/'
- self.root_path = 'index.html'
- self.links = {
- home: 'https://trio.readthedocs.io/',
- code: 'https://github.com/python-trio/trio'
- }
- html_filters.push 'trio/entries', 'trio/clean_html'
- options[:only_patterns] = [
- /reference-core/,
- /reference-io/,
- /reference-testing/,
- /reference-hazmat/,
- ]
- options[:attribution] = <<-HTML
- © 2017-2019 Nathaniel Smith<br>
- Licensed under MIT and Apache2.
- HTML
- end
- end
|