From 13e3a2db72a9a7c219f1207c7b9e4392ae5d9faa Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sun, 16 Mar 2025 09:54:07 +0100 Subject: [PATCH] Update TypeScript documentation (5.8.2) --- lib/docs/scrapers/typescript.rb | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/lib/docs/scrapers/typescript.rb b/lib/docs/scrapers/typescript.rb index 59398c87..e3b2ce86 100644 --- a/lib/docs/scrapers/typescript.rb +++ b/lib/docs/scrapers/typescript.rb @@ -19,16 +19,6 @@ module Docs html_filters.push 'typescript/entries', 'typescript/clean_html', 'title' - options[:fix_urls_before_parse] = ->(url) do - url.sub! '/docs/handbook/esm-node.html', '/docs/handbook/modules/reference.html#node16-nodenext' - url.sub! '/docs/handbook/modules.html', '/docs/handbook/modules/introduction.html' - url - end - - options[:skip] = [ - 'react-&-webpack.html' - ] - options[:skip_patterns] = [ /\Abranding/, /\Acommunity/, @@ -40,12 +30,12 @@ module Docs ] options[:attribution] = <<-HTML - © 2012-2024 Microsoft
+ © 2012-2025 Microsoft
Licensed under the Apache License, Version 2.0. HTML version do - self.release = '5.7.2' + self.release = '5.8.2' self.base_urls = [ 'https://www.typescriptlang.org/docs/handbook/', 'https://www.typescriptlang.org/'