mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Phoenix documentation (1.3.0)
This commit is contained in:
parent
36eece7caa
commit
08b824985e
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue