[devdocsgjs/main: 1803/1867] Update TypeScript documentation (4.4.4)




commit 1f87ff0a2ce13f84e824ca889ef0b0467069227d
Author: Simon Legner <Simon Legner gmail com>
Date:   Fri Oct 22 16:51:39 2021 +0200

    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/'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]