Merge pull request #1472 from freeCodeCamp/erlang-23

Update Erlang documentation (23.2)
This commit is contained in:
Simon Legner 2021-01-29 22:55:40 +01:00 committed by GitHub
commit 6087613630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 3 deletions

View file

@ -283,7 +283,7 @@ credits = [
'https://raw.githubusercontent.com/airbnb/enzyme/master/LICENSE.md'
], [
'Erlang',
'2010-2017 Ericsson AB',
'2010-2020 Ericsson AB',
'Apache',
'https://raw.githubusercontent.com/erlang/otp/maint/LICENSE.txt'
], [

View file

@ -41,6 +41,12 @@ bsdtar --extract --file - --directory=docs/django\~$VERSION/
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 | \
bsdtar --extract --file - --directory=docs/erlang\~$VERSION/
```
## Gnu
### GCC

View file

@ -2,7 +2,7 @@ module Docs
class Erlang
class CleanHtmlFilter < Filter
def call
@doc = at_css('#content .innertube')
@doc = at_css('#content')
# frontpage

View file

@ -36,10 +36,18 @@ module Docs
]
options[:attribution] = <<-HTML
&copy; 2010&ndash;2017 Ericsson AB<br>
&copy; 2010&ndash;2020 Ericsson AB<br>
Licensed under the Apache License, Version 2.0.
HTML
version '23' do
self.release = '23.2'
end
version '22' do
self.release = '22.3'
end
version '21' do
self.release = '21.0'
end