Merge pull request #1781 from rdlu/feature/phx-1-16

Update Phoenix Framework 1.16 / Elixir misc fixes
This commit is contained in:
Simon Legner 2022-07-15 21:35:10 +02:00 committed by GitHub
commit d8ebee43f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

1
.tool-versions Normal file
View file

@ -0,0 +1 @@
ruby 2.7.4

View file

@ -27,6 +27,8 @@ module Docs
def api
css('.hover-link', 'footer', ':not(.detail-header) > .view-source').remove
css('h1 .settings').remove
css('.summary').each do |node|
node.name = 'dl'
end

View file

@ -1,7 +1,7 @@
module Docs
class Phoenix < UrlScraper
self.type = 'elixir'
self.release = '1.5.6'
self.release = '1.6.11'
self.base_url = 'https://hexdocs.pm/'
self.root_path = 'phoenix/Phoenix.html'
self.initial_paths = %w(
@ -20,7 +20,7 @@ module Docs
options[:container] = '#content'
options[:skip_patterns] = [/extra-api-reference/]
options[:skip_patterns] = [/extra-api-reference/, /js/, /\d+\.\d+\.\d+/]
options[:only_patterns] = [
/\Aphoenix\//,
/\Aecto\//,