History

Merge pull request #1878 from ClasherKasten/minor/erlang

Update Erlang (25.1.2)

Simon Legner committed 3 years ago

Commit 4c306222 parents af8d62a 50703ec3 files · +3 −3Browse files

Unified · Split

3 files
  1. docs/file-scrapers.md +1 −1
  2. lib/docs/filters/erlang/clean_html.rb +1 −1
  3. lib/docs/scrapers/erlang.rb +1 −1
docs/file-scrapers.md+1−1
@@ -65,7 +65,7 @@ Go to https://www.erlang.org/downloads and download the HTML documentation file. · 64 unmodified lines
65 65
66```ah66```ah
67mkdir --parent docs/erlang\~$VERSION/; \67mkdir --parent docs/erlang\~$VERSION/; \
68curl http://erlang.org/download/otp_doc_html_$RELEASE.tar.gz | \68curl -L https://github.com/erlang/otp/releases/download/OTP-$RELEASE/otp_doc_html_$RELEASE.tar.gz | \
69bsdtar --extract --file - --directory=docs/erlang\~$VERSION/69bsdtar --extract --file - --directory=docs/erlang\~$VERSION/
70```70```
71 71
lib/docs/filters/erlang/clean_html.rb+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Erlang2 class Erlang
3 class CleanHtmlFilter < Filter3 class CleanHtmlFilter < Filter
4 def call4 def call
5 @doc = at_css('#content')5 @doc = at_css('#content .innertube', '#content')
6 6
7 # frontpage7 # frontpage
8 8
lib/docs/scrapers/erlang.rb+1−1
@@ -41,7 +41,7 @@ module Docs · 40 unmodified lines
41 HTML41 HTML
42 42
43 version '25' do43 version '25' do
44 self.release = '25.0'44 self.release = '25.1'
45 end45 end
46 46
47 version '24' do47 version '24' do