Skip to content

Commit 13e3a2d

Browse files
committed
Update TypeScript documentation (5.8.2)
1 parent 53c8da0 commit 13e3a2d

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

lib/docs/scrapers/typescript.rb

+2-12
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ def initial_urls
1919

2020
html_filters.push 'typescript/entries', 'typescript/clean_html', 'title'
2121

22-
options[:fix_urls_before_parse] = ->(url) do
23-
url.sub! '/docs/handbook/esm-node.html', '/docs/handbook/modules/reference.html#node16-nodenext'
24-
url.sub! '/docs/handbook/modules.html', '/docs/handbook/modules/introduction.html'
25-
url
26-
end
27-
28-
options[:skip] = [
29-
'react-&-webpack.html'
30-
]
31-
3222
options[:skip_patterns] = [
3323
/\Abranding/,
3424
/\Acommunity/,
@@ -40,12 +30,12 @@ def initial_urls
4030
]
4131

4232
options[:attribution] = <<-HTML
43-
&copy; 2012-2024 Microsoft<br>
33+
&copy; 2012-2025 Microsoft<br>
4434
Licensed under the Apache License, Version 2.0.
4535
HTML
4636

4737
version do
48-
self.release = '5.7.2'
38+
self.release = '5.8.2'
4939
self.base_urls = [
5040
'https://www.typescriptlang.org/docs/handbook/',
5141
'https://www.typescriptlang.org/'

0 commit comments

Comments
 (0)