Selaa lähdekoodia

Update Kotlin documentation (1.8.0)

Simon Legner 2 vuotta sitten
vanhempi
commit
2393c2a37d
1 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. 6 1
      lib/docs/scrapers/kotlin.rb

+ 6 - 1
lib/docs/scrapers/kotlin.rb

@@ -27,10 +27,15 @@ module Docs
     end
 
     options[:attribution] = <<-HTML
-      &copy; 2010&ndash;2022 JetBrains s.r.o. and Kotlin Programming Language contributors<br>
+      &copy; 2010&ndash;2023 JetBrains s.r.o. and Kotlin Programming Language contributors<br>
       Licensed under the Apache License, Version 2.0.
     HTML
 
+    version '1.8' do
+      self.release = '1.8.0'
+      self.headers = { 'User-Agent' => 'devdocs.io' , 'Cookie' => 'x-ab-test-spring-boot-learning-path=0; userToken=r33dgpe8x3q5vswekg16a'  }
+    end
+
     version '1.7' do
       self.release = '1.7.20'
     end