Browse Source

Update Elixir documentation (1.6.0)

Thibaut Courouble 7 years ago
parent
commit
cc5105c07a
2 changed files with 16 additions and 3 deletions
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 15 2
      lib/docs/scrapers/elixir.rb

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -232,7 +232,7 @@ credits = [
     'https://raw.githubusercontent.com/electron/electron/master/LICENSE'
   ], [
     'Elixir',
-    '2012-2017 Plataformatec',
+    '2012 Plataformatec',
     'Apache',
     'https://raw.githubusercontent.com/elixir-lang/elixir/master/LICENSE'
   ], [

+ 15 - 2
lib/docs/scrapers/elixir.rb

@@ -19,7 +19,7 @@ module Docs
     options[:root_title] = 'Elixir'
 
     options[:attribution] = <<-HTML
-      &copy; 2012&ndash;2017 Plataformatec<br>
+      &copy; 2012 Plataformatec<br>
       Licensed under the Apache License, Version 2.0.
     HTML
 
@@ -33,8 +33,21 @@ module Docs
         "https://elixir-lang.org/getting-started/introduction.html" ]
     end
 
+    version '1.6' do
+      self.release = '1.6.0'
+      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.5' do
-      self.release = '1.5.2'
+      self.release = '1.5.3'
       self.base_urls = [
         "https://hexdocs.pm/elixir/#{release}/",
         "https://hexdocs.pm/eex/#{release}/",