History

Merge pull request #1746 from opie4624/patch-1

Add Elixir v1.13.4

Simon Legner committed 4 years ago

Commit f8b0c102 parents 0dc12df c3bce852 files · +14 −1Browse files

Unified · Split

2 files
  1. lib/docs/filters/elixir/entries.rb +1 −1
  2. lib/docs/scrapers/elixir.rb +13 −0
lib/docs/filters/elixir/entries.rb+1−1
@@ -5,7 +5,7 @@ module Docs · 4 unmodified lines
55 css('h1 .app-vsn').remove
66
77 if current_url.path.start_with?('/getting-started')
8− at_css('h1').content.strip.remove(/\.\z/)
8+ (at_css('h1 > span') or at_css('h1')).content.strip.remove(/\.\z/)
99 else
1010 name = at_css('h1').content.strip
1111 name = name.split(' ').first unless name.start_with?('mix ') # ecto
lib/docs/scrapers/elixir.rb+13−0
@@ -33,6 +33,19 @@ module Docs · 32 unmodified lines
3333 "https://elixir-lang.org/getting-started/introduction.html" ]
3434 end
3535
36+ version '1.13' do
37+ self.release = '1.13.4'
38+ self.base_urls = [
39+ "https://hexdocs.pm/elixir/#{release}/",
40+ "https://hexdocs.pm/eex/#{release}/",
41+ "https://hexdocs.pm/ex_unit/#{release}/",
42+ "https://hexdocs.pm/iex/#{release}/",
43+ "https://hexdocs.pm/logger/#{release}/",
44+ "https://hexdocs.pm/mix/#{release}/",
45+ 'https://elixir-lang.org/getting-started/'
46+ ]
47+ end
48+
3649 version '1.12' do
3750 self.release = '1.12.0'
3851 self.base_urls = [