소스 검색

Update Crystal documentation (0.19.2)

Thibaut Courouble 9 년 전
부모
커밋
6df717c877
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      lib/docs/scrapers/crystal.rb

+ 2 - 2
lib/docs/scrapers/crystal.rb

@@ -1,9 +1,9 @@
 module Docs
   class Crystal < UrlScraper
     self.type = 'crystal'
-    self.release = '0.18.7'
+    self.release = '0.19.2'
     self.base_url = 'https://crystal-lang.org/'
-    self.root_path = 'api/0.18.7/index.html'
+    self.root_path = "api/#{release}/index.html"
     self.initial_paths = %w(docs/index.html)
     self.links = {
       home: 'https://crystal-lang.org/',