diff --git a/lib/docs/filters/elixir/clean_html.rb b/lib/docs/filters/elixir/clean_html.rb
index 7ff3a86a..cf703389 100644
--- a/lib/docs/filters/elixir/clean_html.rb
+++ b/lib/docs/filters/elixir/clean_html.rb
@@ -57,6 +57,11 @@ module Docs
node.parent.after(node)
end
+ css('.signature').each do |node|
+ non_text_children = node.xpath('node()[not(self::text())]')
+ non_text_children.to_a.reverse.each { |child| node.parent.add_next_sibling(child) }
+ end
+
css('pre').each do |node|
node['data-language'] = 'elixir'
node.content = node.content
diff --git a/lib/docs/scrapers/elixir.rb b/lib/docs/scrapers/elixir.rb
index 076cb81d..f3cc94b2 100644
--- a/lib/docs/scrapers/elixir.rb
+++ b/lib/docs/scrapers/elixir.rb
@@ -33,8 +33,21 @@ module Docs
"https://elixir-lang.org/getting-started/introduction.html" ]
end
+ version '1.9' do
+ self.release = '1.9.1'
+ self.base_urls = [
+ "https://hexdocs.pm/elixir/#{release}/",
+ "https://hexdocs.pm/eex/#{release}/",
+ "https://hexdocs.pm/ex_unit/#{release}/",
+ "https://hexdocs.pm/iex/#{release}/",
+ "https://hexdocs.pm/logger/#{release}/",
+ "https://hexdocs.pm/mix/#{release}/",
+ 'https://elixir-lang.org/getting-started/'
+ ]
+ end
+
version '1.8' do
- self.release = '1.8.1'
+ self.release = '1.8.2'
self.base_urls = [
"https://hexdocs.pm/elixir/#{release}/",
"https://hexdocs.pm/eex/#{release}/",
@@ -60,7 +73,7 @@ module Docs
end
version '1.6' do
- self.release = '1.6.5'
+ self.release = '1.6.6'
self.base_urls = [
"https://hexdocs.pm/elixir/#{release}/",
"https://hexdocs.pm/eex/#{release}/",