Browse Source

Update Elixir documentation (1.3.4)

Thibaut Courouble 9 years ago
parent
commit
e1937ff575
2 changed files with 5 additions and 1 deletions
  1. 4 0
      lib/docs/filters/elixir/clean_html.rb
  2. 1 1
      lib/docs/scrapers/elixir.rb

+ 4 - 0
lib/docs/filters/elixir/clean_html.rb

@@ -53,6 +53,10 @@ module Docs
           node.before(node.children).remove
         end
 
+        css('.detail-header > pre').each do |node|
+          node.parent.after(node)
+        end
+
         css('pre').each do |node|
           node['data-language'] = 'elixir'
         end

+ 1 - 1
lib/docs/scrapers/elixir.rb

@@ -4,7 +4,7 @@ module Docs
 
     self.name = 'Elixir'
     self.type = 'elixir'
-    self.release = '1.3.3'
+    self.release = '1.3.4'
     self.base_urls = ['http://elixir-lang.org/docs/stable/', 'http://elixir-lang.org/getting-started/']
     self.root_path = 'elixir/api-reference.html'
     self.initial_paths = %w(