1
0

symfony.rb 762 B

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