Update Erlang documentation (23.2)
Unified · Split
| @@ -283,7 +283,7 @@ credits = [ · 282 unmodified lines | ||
| 283 | 283 | 'https://raw.githubusercontent.com/airbnb/enzyme/master/LICENSE.md' |
| 284 | 284 | ], [ |
| 285 | 285 | 'Erlang', |
| 286 | − '2010-2017 Ericsson AB', | |
| 286 | + '2010-2020 Ericsson AB', | |
| 287 | 287 | 'Apache', |
| 288 | 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 | 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 | 50 | ## Gnu |
| 45 | 51 | |
| 46 | 52 | ### GCC |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Erlang |
| 3 | 3 | class CleanHtmlFilter < Filter |
| 4 | 4 | def call |
| 5 | − @doc = at_css('#content .innertube') | |
| 5 | + @doc = at_css('#content') | |
| 6 | 6 | |
| 7 | 7 | # frontpage |
| 8 | 8 | |
| @@ -36,10 +36,18 @@ module Docs · 35 unmodified lines | ||
| 36 | 36 | ] |
| 37 | 37 | |
| 38 | 38 | options[:attribution] = <<-HTML |
| 39 | − © 2010–2017 Ericsson AB<br> | |
| 39 | + © 2010–2020 Ericsson AB<br> | |
| 40 | 40 | Licensed under the Apache License, Version 2.0. |
| 41 | 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 | 51 | version '21' do |
| 44 | 52 | self.release = '21.0' |
| 45 | 53 | end |