Skip to content

Commit f8b0c10

Browse files
authored
Merge pull request freeCodeCamp#1746 from opie4624/patch-1
Add Elixir v1.13.4
2 parents 0dc12df + c3bce85 commit f8b0c10

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

lib/docs/filters/elixir/entries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def get_name
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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,19 @@ def initial_urls
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 = [

0 commit comments

Comments
 (0)