Update Erlang documentation (23.2)
Unified · Split
| @@ -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 | ], [ |
| @@ -41,6 +41,12 @@ bsdtar --extract --file - --directory=docs/django\~$VERSION/ · 40 unmodified lines | |||
| 41 | 41 | ||
| 42 | Go to https://www.erlang.org/downloads and download the HTML documentation file. | 42 | Go to https://www.erlang.org/downloads and download the HTML documentation file. |
| 43 | 43 | ||
| 44 | ```ah | ||
| 45 | mkdir --parent docs/erlang\~$VERSION/; \ | ||
| 46 | curl http://erlang.org/download/otp_doc_html_23.2.tar.gz | \ | ||
| 47 | bsdtar --extract --file - --directory=docs/erlang\~$VERSION/ | ||
| 48 | ``` | ||
| 49 | |||
| 44 | ## Gnu | 50 | ## Gnu |
| 45 | 51 | ||
| 46 | ### GCC | 52 | ### GCC |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | |||
| 2 | class Erlang | 2 | class Erlang |
| 3 | class CleanHtmlFilter < Filter | 3 | class CleanHtmlFilter < Filter |
| 4 | def call | 4 | def call |
| 5 | @doc = at_css('#content .innertube') | 5 | @doc = at_css('#content') |
| 6 | 6 | ||
| 7 | # frontpage | 7 | # frontpage |
| 8 | 8 | ||
| @@ -36,10 +36,18 @@ module Docs · 35 unmodified lines | |||
| 36 | ] | 36 | ] |
| 37 | 37 | ||
| 38 | options[:attribution] = <<-HTML | 38 | options[:attribution] = <<-HTML |
| 39 | © 2010–2017 Ericsson AB<br> | 39 | © 2010–2020 Ericsson AB<br> |
| 40 | Licensed under the Apache License, Version 2.0. | 40 | Licensed under the Apache License, Version 2.0. |
| 41 | HTML | 41 | 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' do | 51 | version '21' do |
| 44 | self.release = '21.0' | 52 | self.release = '21.0' |
| 45 | end | 53 | end |