From cc5105c07a2b8d0799052b795e8e22d00212c483 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 28 Jan 2018 18:43:50 -0500 Subject: [PATCH] Update Elixir documentation (1.6.0) --- .../templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/elixir.rb | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index efa00877..db97532f 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/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' ], [ diff --git a/lib/docs/scrapers/elixir.rb b/lib/docs/scrapers/elixir.rb index 023966b3..3aa8ff7a 100644 --- a/lib/docs/scrapers/elixir.rb +++ b/lib/docs/scrapers/elixir.rb @@ -19,7 +19,7 @@ module Docs options[:root_title] = 'Elixir' options[:attribution] = <<-HTML - © 2012–2017 Plataformatec
+ © 2012 Plataformatec
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}/",