History

Update Phoenix documentation (1.3.0)

Thibaut Courouble committed 9 years ago

Commit 08b82491 parent 36eece72 files · +4 −2Browse files

Unified · Split

2 files
  1. lib/docs/filters/elixir/entries.rb +3 −1
  2. lib/docs/scrapers/phoenix.rb +1 −1
lib/docs/filters/elixir/entries.rb+3−1
@@ -5,7 +5,9 @@ module Docs · 4 unmodified lines
55 if current_url.path.start_with?('/getting-started')
66 at_css('h1').content.strip.remove(/\.\z/)
77 else
8− at_css('h1').content.split(' ').first.strip
8+ name = at_css('h1').content.strip
9+ name = name.split(' ').first unless name.start_with?('mix ') # ecto
10+ name
911 end
1012 end
1113
lib/docs/scrapers/phoenix.rb+1−1
@@ -1,7 +1,7 @@
11 module Docs
22 class Phoenix < UrlScraper
33 self.type = 'elixir'
4− self.release = '1.2.3'
4+ self.release = '1.3.0'
55 self.base_url = 'https://hexdocs.pm/'
66 self.root_path = 'phoenix/Phoenix.html'
77 self.initial_paths = %w(