Browse Source

Update es-toolkit documentation (1.42.0)

Simon Legner 1 week ago
parent
commit
af96ddddbf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/docs/scrapers/es_toolkit.rb

+ 2 - 1
lib/docs/scrapers/es_toolkit.rb

@@ -7,6 +7,7 @@ module Docs
       code: "https://github.com/toss/es-toolkit",
       code: "https://github.com/toss/es-toolkit",
       home: "https://es-toolkit.slash.page",
       home: "https://es-toolkit.slash.page",
     }
     }
+    self.release = '1.42.0'
 
 
     options[:attribution] = <<-HTML
     options[:attribution] = <<-HTML
       &copy; 2024-2025, Viva Republica<br>
       &copy; 2024-2025, Viva Republica<br>
@@ -14,7 +15,7 @@ module Docs
     HTML
     HTML
 
 
     def get_latest_version(opts)
     def get_latest_version(opts)
-      get_github_tags("toss", "es-toolkit", opts).first["name"]
+      get_github_tags("toss", "es-toolkit", opts).first["name"][1..]
     end
     end
 
 
     def build_pages(&block)
     def build_pages(&block)