@@ -4,6 +4,10 @@ module Docs
def call
@doc = at_css('.doc-content-container')
+ if root_page?
+ at_css('h1').content = 'TypeScript Documentation'
+ end
+
css('.xs-toc-container').remove
css('article h1').each do |node|
@@ -2,7 +2,7 @@ module Docs
class Typescript < UrlScraper
self.name = 'TypeScript'
self.type = 'typescript'
- self.release = '2.4.0'
+ self.release = '2.5.0'
self.base_url = 'https://www.typescriptlang.org/docs/'
self.root_path = 'tutorial.html'
self.links = {