mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
646 B
28 lines
646 B
10 years ago
|
module Docs
|
||
|
class Symfony < UrlScraper
|
||
|
self.name = 'Symfony'
|
||
|
self.slug = 'symfony'
|
||
|
self.type = 'laravel'
|
||
|
self.version = '2.6'
|
||
|
self.base_url = 'http://api.symfony.com/2.6/'
|
||
|
self.root_path = 'namespaces.html'
|
||
|
self.initial_paths = %w(classes.html)
|
||
|
|
||
|
html_filters.push 'symfony/entries', 'symfony/clean_html'
|
||
|
|
||
|
options[:skip] = %w(
|
||
|
panel.html
|
||
|
namespaces.html
|
||
|
interfaces.html
|
||
|
traits.html
|
||
|
doc-index.html
|
||
|
search.html
|
||
|
Symfony.html)
|
||
|
|
||
|
options[:attribution] = <<-HTML
|
||
|
© 2004–2015 Fabien Potencier<br>
|
||
|
Licensed under the MIT License.
|
||
|
HTML
|
||
|
end
|
||
|
end
|