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
5 if current_url.path.start_with?('/getting-started')5 if current_url.path.start_with?('/getting-started')
6 at_css('h1').content.strip.remove(/\.\z/)6 at_css('h1').content.strip.remove(/\.\z/)
7 else7 else
8 at_css('h1').content.split(' ').first.strip8 name = at_css('h1').content.strip
9 name = name.split(' ').first unless name.start_with?('mix ') # ecto
10 name
9 end11 end
10 end12 end
11 13
lib/docs/scrapers/phoenix.rb+1−1
@@ -1,7 +1,7 @@
1module Docs1module Docs
2 class Phoenix < UrlScraper2 class Phoenix < UrlScraper
3 self.type = 'elixir'3 self.type = 'elixir'
4 self.release = '1.2.3'4 self.release = '1.3.0'
5 self.base_url = 'https://hexdocs.pm/'5 self.base_url = 'https://hexdocs.pm/'
6 self.root_path = 'phoenix/Phoenix.html'6 self.root_path = 'phoenix/Phoenix.html'
7 self.initial_paths = %w(7 self.initial_paths = %w(