[devdocsgjs/main: 54/64] kubernetes: omit version for latest




commit 638e531591320874282f489b21cd096f1f580894
Author: Simon Legner <Simon Legner gmail com>
Date:   Tue May 3 20:51:37 2022 +0200

    kubernetes: omit version for latest

 lib/docs/scrapers/kubectl.rb    | 4 ++--
 lib/docs/scrapers/kubernetes.rb | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/lib/docs/scrapers/kubectl.rb b/lib/docs/scrapers/kubectl.rb
index 7c234dff..0f888ddf 100644
--- a/lib/docs/scrapers/kubectl.rb
+++ b/lib/docs/scrapers/kubectl.rb
@@ -20,8 +20,8 @@ module Docs
     HTML
 
     # latest version has a special URL that does not include the version identifier 
-    version '1.23' do
-      self.release = "#{version}"
+    version do
+      self.release = "1.23"
       self.base_url = "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands";
     end
 
diff --git a/lib/docs/scrapers/kubernetes.rb b/lib/docs/scrapers/kubernetes.rb
index a9c24eee..143c16ae 100644
--- a/lib/docs/scrapers/kubernetes.rb
+++ b/lib/docs/scrapers/kubernetes.rb
@@ -19,8 +19,8 @@ module Docs
     HTML
 
     # latest version has a special URL that does not include the version identifier 
-    version '1.23' do
-      self.release = "#{version}"
+    version do
+      self.release = "1.23"
       self.base_url = "https://kubernetes.io/docs/reference/kubernetes-api/";
     end
 


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