Browse Source

Update TypeScript documentation (2.1.5)

Thibaut Courouble 9 years ago
parent
commit
ced83e1d48
2 changed files with 2 additions and 1 deletions
  1. 1 0
      lib/docs/filters/typescript/entries.rb
  2. 1 1
      lib/docs/scrapers/typescript.rb

+ 1 - 0
lib/docs/filters/typescript/entries.rb

@@ -18,6 +18,7 @@ module Docs
 
       def additional_entries
         return [] unless slug.start_with?('handbook')
+        return [] if slug.include?('release-notes')
         return [] if slug == 'handbook/writing-definition-files'
 
         css('.post-content h1, .post-content h2').each_with_object [] do |node, entries|

+ 1 - 1
lib/docs/scrapers/typescript.rb

@@ -2,7 +2,7 @@ module Docs
   class Typescript < UrlScraper
     self.name = 'TypeScript'
     self.type = 'typescript'
-    self.release = '2.0.6'
+    self.release = '2.1.5'
     self.base_url = 'https://www.typescriptlang.org/docs/'
     self.root_path = 'tutorial.html'
     self.links = {