Browse Source

Update VueUse documentation (12.5.0)

Simon Legner 10 months ago
parent
commit
e993bafc47
2 changed files with 17 additions and 1 deletions
  1. 16 0
      lib/docs/filters/vueuse/entries.rb
  2. 1 1
      lib/docs/scrapers/vueuse.rb

+ 16 - 0
lib/docs/filters/vueuse/entries.rb

@@ -248,6 +248,10 @@ module Docs
               "text": "usePreferredReducedMotion",
               "link": "/core/usePreferredReducedMotion/"
             },
+            {
+              "text": "usePreferredReducedTransparency",
+              "link": "/core/usePreferredReducedTransparency/"
+            },
             {
               "text": "useScreenOrientation",
               "link": "/core/useScreenOrientation/"
@@ -264,6 +268,10 @@ module Docs
               "text": "useShare",
               "link": "/core/useShare/"
             },
+            {
+              "text": "useSSRWidth",
+              "link": "/core/useSSRWidth/"
+            },
             {
               "text": "useStyleTag",
               "link": "/core/useStyleTag/"
@@ -313,6 +321,10 @@ module Docs
               "text": "onClickOutside",
               "link": "/core/onClickOutside/"
             },
+            {
+              "text": "onElementRemoval",
+              "link": "/core/onElementRemoval/"
+            },
             {
               "text": "onKeyStroke",
               "link": "/core/onKeyStroke/"
@@ -788,6 +800,10 @@ module Docs
         {
           "text": "Time",
           "items": [
+            {
+              "text": "useCountdown",
+              "link": "/core/useCountdown/"
+            },
             {
               "text": "useDateFormat",
               "link": "/shared/useDateFormat/"

+ 1 - 1
lib/docs/scrapers/vueuse.rb

@@ -22,7 +22,7 @@ module Docs
       Licensed under the MIT License.
     HTML
 
-    self.release = '12.0.0'
+    self.release = '12.5.0'
     self.base_url = 'https://vueuse.org/'
     self.initial_paths = %w(functions.html)
     html_filters.push 'vueuse/entries', 'vite/clean_html', 'vueuse/clean_html'