symfony.rb 646 B

123456789101112131415161718192021222324252627
  1. module Docs
  2. class Symfony < UrlScraper
  3. self.name = 'Symfony'
  4. self.slug = 'symfony'
  5. self.type = 'laravel'
  6. self.version = '2.6'
  7. self.base_url = 'http://api.symfony.com/2.6/'
  8. self.root_path = 'namespaces.html'
  9. self.initial_paths = %w(classes.html)
  10. html_filters.push 'symfony/entries', 'symfony/clean_html'
  11. options[:skip] = %w(
  12. panel.html
  13. namespaces.html
  14. interfaces.html
  15. traits.html
  16. doc-index.html
  17. search.html
  18. Symfony.html)
  19. options[:attribution] = <<-HTML
  20. &copy; 2004&ndash;2015 Fabien Potencier<br>
  21. Licensed under the MIT License.
  22. HTML
  23. end
  24. end