Update Erlang documentation (23.2)

pull/1472/head
Simon Legner 4 years ago
parent df5a45c657
commit 3b14a531eb

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

@ -41,6 +41,12 @@ bsdtar --extract --file - --directory=docs/django\~$VERSION/
Go to https://www.erlang.org/downloads and download the HTML documentation file. 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 ## Gnu
### GCC ### GCC

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

@ -36,10 +36,18 @@ module Docs
] ]
options[:attribution] = <<-HTML 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. Licensed under the Apache License, Version 2.0.
HTML HTML
version '23' do
self.release = '23.2'
end
version '22' do
self.release = '22.3'
end
version '21' do version '21' do
self.release = '21.0' self.release = '21.0'
end end

Loading…
Cancel
Save