module Docs class Phalcon < UrlScraper self.type = 'phalcon' self.release = '3.0.0' self.base_url = 'https://docs.phalconphp.com/en/latest/' self.root_path = 'index.html' self.links = { home: 'https://phalconphp.com/', code: 'https://github.com/phalcon/cphalcon/' } html_filters.push 'phalcon/clean_html', 'phalcon/entries' options[:root_title] = 'Phalcon' options[:only_patterns] = [/reference\//, /api\//] options[:skip] = %w( api/index.html reference/license.html) options[:attribution] = <<-HTML © 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0. HTML end end