mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Merge pull request #1781 from rdlu/feature/phx-1-16
Update Phoenix Framework 1.16 / Elixir misc fixes
This commit is contained in:
commit
d8ebee43f0
3 changed files with 5 additions and 2 deletions
1
.tool-versions
Normal file
1
.tool-versions
Normal file
|
@ -0,0 +1 @@
|
|||
ruby 2.7.4
|
|
@ -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
|
||||
|
|
|
@ -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\//,
|
||||
|
|
Loading…
Reference in a new issue