[devdocsgjs/main: 1164/1867] Include phoenix live view




commit 33becec880c350551131fbc613a63b63691e92d3
Author: sabiwara <sabiwara gmail com>
Date:   Fri Aug 21 07:55:41 2020 +0900

    Include phoenix live view

 lib/docs/scrapers/phoenix.rb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/lib/docs/scrapers/phoenix.rb b/lib/docs/scrapers/phoenix.rb
index 3a8c9a9b..1aaba7ce 100644
--- a/lib/docs/scrapers/phoenix.rb
+++ b/lib/docs/scrapers/phoenix.rb
@@ -1,13 +1,14 @@
 module Docs
   class Phoenix < UrlScraper
     self.type = 'elixir'
-    self.release = '1.5.4'
+    self.release = '1.5.6'
     self.base_url = 'https://hexdocs.pm/'
     self.root_path = 'phoenix/Phoenix.html'
     self.initial_paths = %w(
       phoenix/api-reference.html
       ecto/api-reference.html
       phoenix_html/api-reference.html
+      phoenix_live_view/api-reference.html
       phoenix_pubsub/api-reference.html
       plug/api-reference.html)
     self.links = {
@@ -25,6 +26,7 @@ module Docs
       /\Aecto\//,
       /\Aphoenix_pubsub\//,
       /\Aphoenix_html\//,
+      /\Aphoenix_live_view\//,
       /\Aplug\//
     ]
 
@@ -40,6 +42,11 @@ module Docs
           &copy; 2013 Plataformatec<br>
           Licensed under the Apache License, Version 2.0.
         HTML
+      elsif filter.slug.start_with?('phoenix_live_view')
+        <<-HTML
+          &copy; 2018 Chris McCord<br>
+          Licensed under the MIT License.
+        HTML
       else
         <<-HTML
           &copy; 2014 Chris McCord<br>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]