|
|
@ -1,5 +1,5 @@
|
|
|
|
module Docs
|
|
|
|
module Docs
|
|
|
|
class Phoenix < Elixir
|
|
|
|
class Phoenix < UrlScraper
|
|
|
|
self.type = 'elixir'
|
|
|
|
self.type = 'elixir'
|
|
|
|
self.release = '1.2.1'
|
|
|
|
self.release = '1.2.1'
|
|
|
|
self.base_url = 'https://hexdocs.pm/'
|
|
|
|
self.base_url = 'https://hexdocs.pm/'
|
|
|
@ -9,13 +9,15 @@ module Docs
|
|
|
|
ecto/api-reference.html
|
|
|
|
ecto/api-reference.html
|
|
|
|
phoenix_html/api-reference.html
|
|
|
|
phoenix_html/api-reference.html
|
|
|
|
phoenix_pubsub/api-reference.html
|
|
|
|
phoenix_pubsub/api-reference.html
|
|
|
|
plug/extra-api-reference.html)
|
|
|
|
plug/api-reference.html)
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'http://www.phoenixframework.org',
|
|
|
|
home: 'http://www.phoenixframework.org',
|
|
|
|
code: 'https://github.com/phoenixframework/phoenix'
|
|
|
|
code: 'https://github.com/phoenixframework/phoenix'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
options[:root_title] = false
|
|
|
|
html_filters.push 'elixir/clean_html', 'elixir/entries'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options[:container] = '#content'
|
|
|
|
|
|
|
|
|
|
|
|
options[:skip_patterns] = [/extra-api-reference/]
|
|
|
|
options[:skip_patterns] = [/extra-api-reference/]
|
|
|
|
options[:only_patterns] = [
|
|
|
|
options[:only_patterns] = [
|
|
|
|