From 1f87ff0a2ce13f84e824ca889ef0b0467069227d Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Fri, 22 Oct 2021 16:51:39 +0200 Subject: [PATCH] Update TypeScript documentation (4.4.4) --- lib/docs/filters/typescript/entries.rb | 2 +- lib/docs/scrapers/typescript.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/docs/filters/typescript/entries.rb b/lib/docs/filters/typescript/entries.rb index deb56c1f..c2ad3b0e 100644 --- a/lib/docs/filters/typescript/entries.rb +++ b/lib/docs/filters/typescript/entries.rb @@ -40,7 +40,7 @@ module Docs def handbook_entries css('h2').each_with_object [] do |node, entries| - entries << [node.content, node['id']] + entries << ["#{name}: #{node.content}", node['id']] if node['id'] end end diff --git a/lib/docs/scrapers/typescript.rb b/lib/docs/scrapers/typescript.rb index f6f4ce89..880efa3b 100644 --- a/lib/docs/scrapers/typescript.rb +++ b/lib/docs/scrapers/typescript.rb @@ -4,7 +4,7 @@ module Docs self.name = 'TypeScript' self.type = 'typescript' - self.release = '4.3.5' + self.release = '4.4.4' self.base_urls = [ 'https://www.typescriptlang.org/docs/handbook/', 'https://www.typescriptlang.org/'