소스 검색

Update Kotlin documentation (1.8.0)

Simon Legner 2 년 전
부모
커밋
2393c2a37d
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  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