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
5 css('h1 .app-vsn').remove5 css('h1 .app-vsn').remove
6 6
7 if current_url.path.start_with?('/getting-started')7 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/)
9 else9 else
10 name = at_css('h1').content.strip10 name = at_css('h1').content.strip
11 name = name.split(' ').first unless name.start_with?('mix ') # ecto11 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
33 "https://elixir-lang.org/getting-started/introduction.html" ]33 "https://elixir-lang.org/getting-started/introduction.html" ]
34 end34 end
35 35
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
36 version '1.12' do49 version '1.12' do
37 self.release = '1.12.0'50 self.release = '1.12.0'
38 self.base_urls = [51 self.base_urls = [