[devdocsgjs/main: 1653/1867] Update Erlang documentation (24.0)




commit fd1cd2fcbdac7df9ddc0ed1d3637c0a5f13210bf
Author: Simon Legner <Simon Legner gmail com>
Date:   Thu May 13 12:18:40 2021 +0200

    Update Erlang documentation (24.0)

 assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
 docs/file-scrapers.md                                | 2 +-
 lib/docs/scrapers/erlang.rb                          | 6 +++++-
 3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 22156928..57ad2aae 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -283,7 +283,7 @@ credits = [
     'https://raw.githubusercontent.com/airbnb/enzyme/master/LICENSE.md'
   ], [
     'Erlang',
-    '2010-2020 Ericsson AB',
+    '2010-2021 Ericsson AB',
     'Apache',
     'https://raw.githubusercontent.com/erlang/otp/maint/LICENSE.txt'
   ], [
diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md
index fc03d906..b367a6ef 100644
--- a/docs/file-scrapers.md
+++ b/docs/file-scrapers.md
@@ -53,7 +53,7 @@ Go to https://www.erlang.org/downloads and download the HTML documentation file.
 
 ```ah
 mkdir --parent docs/erlang\~$VERSION/; \
-curl http://erlang.org/download/otp_doc_html_23.2.tar.gz | \
+curl http://erlang.org/download/otp_doc_html_$RELEASE.tar.gz | \
 bsdtar --extract --file - --directory=docs/erlang\~$VERSION/
 ```
 
diff --git a/lib/docs/scrapers/erlang.rb b/lib/docs/scrapers/erlang.rb
index 6809274a..b0e7231b 100644
--- a/lib/docs/scrapers/erlang.rb
+++ b/lib/docs/scrapers/erlang.rb
@@ -36,10 +36,14 @@ module Docs
     ]
 
     options[:attribution] = <<-HTML
-      &copy; 2010&ndash;2020 Ericsson AB<br>
+      &copy; 2010&ndash;2021 Ericsson AB<br>
       Licensed under the Apache License, Version 2.0.
     HTML
 
+    version '24' do
+      self.release = '24.0'
+    end
+
     version '23' do
       self.release = '23.2'
     end


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]