History

Merge pull request #1472 from freeCodeCamp/erlang-23

Update Erlang documentation (23.2)

Simon Legner committed 5 years ago

Commit 60876132 parents 7721872 3b14a534 files · +17 −3Browse files

Unified · Split

4 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. docs/file-scrapers.md +6 −0
  3. lib/docs/filters/erlang/clean_html.rb +1 −1
  4. lib/docs/scrapers/erlang.rb +9 −1
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -283,7 +283,7 @@ credits = [ · 282 unmodified lines
283 'https://raw.githubusercontent.com/airbnb/enzyme/master/LICENSE.md'283 'https://raw.githubusercontent.com/airbnb/enzyme/master/LICENSE.md'
284 ], [284 ], [
285 'Erlang',285 'Erlang',
286 '2010-2017 Ericsson AB',286 '2010-2020 Ericsson AB',
287 'Apache',287 'Apache',
288 'https://raw.githubusercontent.com/erlang/otp/maint/LICENSE.txt'288 'https://raw.githubusercontent.com/erlang/otp/maint/LICENSE.txt'
289 ], [289 ], [
docs/file-scrapers.md+6−0
@@ -41,6 +41,12 @@ bsdtar --extract --file - --directory=docs/django\~$VERSION/ · 40 unmodified lines
41 41
42Go to https://www.erlang.org/downloads and download the HTML documentation file.42Go to https://www.erlang.org/downloads and download the HTML documentation file.
43 43
44```ah
45mkdir --parent docs/erlang\~$VERSION/; \
46curl http://erlang.org/download/otp_doc_html_23.2.tar.gz | \
47bsdtar --extract --file - --directory=docs/erlang\~$VERSION/
48```
49
44## Gnu50## Gnu
45 51
46### GCC52### GCC
lib/docs/filters/erlang/clean_html.rb+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Erlang2 class Erlang
3 class CleanHtmlFilter < Filter3 class CleanHtmlFilter < Filter
4 def call4 def call
5 @doc = at_css('#content .innertube')5 @doc = at_css('#content')
6 6
7 # frontpage7 # frontpage
8 8
lib/docs/scrapers/erlang.rb+9−1
@@ -36,10 +36,18 @@ module Docs · 35 unmodified lines
36 ]36 ]
37 37
38 options[:attribution] = <<-HTML38 options[:attribution] = <<-HTML
39 &copy; 2010&ndash;2017 Ericsson AB<br>39 &copy; 2010&ndash;2020 Ericsson AB<br>
40 Licensed under the Apache License, Version 2.0.40 Licensed under the Apache License, Version 2.0.
41 HTML41 HTML
42 42
43 version '23' do
44 self.release = '23.2'
45 end
46
47 version '22' do
48 self.release = '22.3'
49 end
50
43 version '21' do51 version '21' do
44 self.release = '21.0'52 self.release = '21.0'
45 end53 end