Update Phoenix documentation (1.3.0)

This commit is contained in:
Thibaut Courouble 2017-08-26 11:47:17 -04:00
parent 36eece7caa
commit 08b824985e
2 changed files with 4 additions and 2 deletions

View file

@ -5,7 +5,9 @@ module Docs
if current_url.path.start_with?('/getting-started')
at_css('h1').content.strip.remove(/\.\z/)
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

View file

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