Update TypeScript documentation (2.5.0)

This commit is contained in:
Thibaut Courouble 2017-09-04 09:47:06 -04:00
parent 79e8d7de5e
commit eea7596dad
2 changed files with 5 additions and 1 deletions

View file

@ -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|

View file

@ -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 = {