|
|
|
@ -3,23 +3,25 @@ module Docs
|
|
|
|
|
self.name = 'TypeScript'
|
|
|
|
|
self.type = 'simple'
|
|
|
|
|
self.release = '4.1.2'
|
|
|
|
|
self.base_url = 'https://www.typescriptlang.org/docs/handbook'
|
|
|
|
|
self.base_url = 'https://www.typescriptlang.org/docs/handbook/'
|
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'https://www.typescriptlang.org',
|
|
|
|
|
code: 'https://github.com/Microsoft/TypeScript'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html_filters.push 'typescript/entries', 'typescript/clean_html'
|
|
|
|
|
html_filters.push 'typescript/entries', 'typescript/clean_html', 'title'
|
|
|
|
|
|
|
|
|
|
options[:container] = 'main'
|
|
|
|
|
|
|
|
|
|
options[:skip] = [
|
|
|
|
|
'/react-&-webpack.html',
|
|
|
|
|
'/asp-net-core.html',
|
|
|
|
|
'/gulp.html',
|
|
|
|
|
'/dom-manipulation.html',
|
|
|
|
|
'/migrating-from-javascript.html',
|
|
|
|
|
'/babel-with-typescript.html',
|
|
|
|
|
'/intro.html'
|
|
|
|
|
'react-&-webpack.html',
|
|
|
|
|
'asp-net-core.html',
|
|
|
|
|
'gulp.html',
|
|
|
|
|
'dom-manipulation.html',
|
|
|
|
|
'migrating-from-javascript.html',
|
|
|
|
|
'babel-with-typescript.html',
|
|
|
|
|
'intro.html'
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
options[:skip_patterns] = [
|
|
|
|
|