Update Phoenix documentation (1.3.0)

pull/669/head
Thibaut Courouble 8 years ago
parent 36eece7caa
commit 08b824985e

@ -5,7 +5,9 @@ module Docs
if current_url.path.start_with?('/getting-started') if current_url.path.start_with?('/getting-started')
at_css('h1').content.strip.remove(/\.\z/) at_css('h1').content.strip.remove(/\.\z/)
else else
at_css('h1').content.split(' ').first.strip name = at_css('h1').content.strip
name = name.split(' ').first unless name.start_with?('mix ') # ecto
name
end end
end end

@ -1,7 +1,7 @@
module Docs module Docs
class Phoenix < UrlScraper class Phoenix < UrlScraper
self.type = 'elixir' self.type = 'elixir'
self.release = '1.2.3' self.release = '1.3.0'
self.base_url = 'https://hexdocs.pm/' self.base_url = 'https://hexdocs.pm/'
self.root_path = 'phoenix/Phoenix.html' self.root_path = 'phoenix/Phoenix.html'
self.initial_paths = %w( self.initial_paths = %w(

Loading…
Cancel
Save