Update Phoenix Framework 1.16 / Elixir misc fixes
Unified · Split
| @@ -0,0 +1 @@ | |||
| 1 | ruby 2.7.4 | ||
| @@ -27,6 +27,8 @@ module Docs · 26 unmodified lines | |||
| 27 | def api | 27 | def api |
| 28 | css('.hover-link', 'footer', ':not(.detail-header) > .view-source').remove | 28 | css('.hover-link', 'footer', ':not(.detail-header) > .view-source').remove |
| 29 | 29 | ||
| 30 | css('h1 .settings').remove | ||
| 31 | |||
| 30 | css('.summary').each do |node| | 32 | css('.summary').each do |node| |
| 31 | node.name = 'dl' | 33 | node.name = 'dl' |
| 32 | end | 34 | end |
| @@ -1,7 +1,7 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Phoenix < UrlScraper | 2 | class Phoenix < UrlScraper |
| 3 | self.type = 'elixir' | 3 | self.type = 'elixir' |
| 4 | self.release = '1.5.6' | 4 | self.release = '1.6.11' |
| 5 | self.base_url = 'https://hexdocs.pm/' | 5 | self.base_url = 'https://hexdocs.pm/' |
| 6 | self.root_path = 'phoenix/Phoenix.html' | 6 | self.root_path = 'phoenix/Phoenix.html' |
| 7 | self.initial_paths = %w( | 7 | self.initial_paths = %w( |
| @@ -20,7 +20,7 @@ module Docs · 12 unmodified lines | |||
| 20 | 20 | ||
| 21 | options[:container] = '#content' | 21 | options[:container] = '#content' |
| 22 | 22 | ||
| 23 | options[:skip_patterns] = [/extra-api-reference/] | 23 | options[:skip_patterns] = [/extra-api-reference/, /js/, /\d+\.\d+\.\d+/] |
| 24 | options[:only_patterns] = [ | 24 | options[:only_patterns] = [ |
| 25 | /\Aphoenix\//, | 25 | /\Aphoenix\//, |
| 26 | /\Aecto\//, | 26 | /\Aecto\//, |