mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Merge pull request #1472 from freeCodeCamp/erlang-23
Update Erlang documentation (23.2)
This commit is contained in:
commit
6087613630
4 changed files with 17 additions and 3 deletions
|
@ -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'
|
||||
], [
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -2,7 +2,7 @@ module Docs
|
|||
class Erlang
|
||||
class CleanHtmlFilter < Filter
|
||||
def call
|
||||
@doc = at_css('#content .innertube')
|
||||
@doc = at_css('#content')
|
||||
|
||||
# frontpage
|
||||
|
||||
|
|
|
@ -36,10 +36,18 @@ module Docs
|
|||
]
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 2010–2017 Ericsson AB<br>
|
||||
© 2010–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
|
||||
|
|
Loading…
Reference in a new issue