File tree Expand file tree Collapse file tree 3 files changed +28
-15
lines changed
packages/typescriptlang-org Expand file tree Collapse file tree 3 files changed +28
-15
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,15 @@ export const createRootPagesLocalized = async (
25
25
26
26
const langs = fs
27
27
. readdirSync ( languageRootDir )
28
- . filter ( f => f . endsWith ( ".ts" ) && f . length === 5 )
29
- . map ( f => path . basename ( f , ".ts" ) )
28
+ . filter (
29
+ f =>
30
+ ! (
31
+ f . endsWith ( ".ts" ) ||
32
+ f . endsWith ( ".ts" ) ||
33
+ f . endsWith ( ".md" ) ||
34
+ f . startsWith ( "." )
35
+ )
36
+ )
30
37
31
38
const files = recursiveReadDirSync ( rootPagesDir )
32
39
. filter ( f => ! f . startsWith ( "." ) ) // only useful files
@@ -48,7 +55,7 @@ export const createRootPagesLocalized = async (
48
55
// prettier-ignore
49
56
originalSitePath = originalSitePath . substring ( 0 , originalSitePath . length - 3 )
50
57
}
51
-
58
+ console . log ( langs )
52
59
langs . forEach ( lang => {
53
60
if ( ! isMultiLingual && lang !== "en" ) return
54
61
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ pre {
185
185
}
186
186
}
187
187
188
- .dark-theme pre {
188
+ .dark-theme .markdown pre {
189
189
background-color : #d8d8d8 ;
190
190
border-color : #ddd ;
191
191
filter : invert (98% ) hue-rotate (180deg );
Original file line number Diff line number Diff line change 26
26
" camelcase" ,
27
27
" changelog" ,
28
28
" circleci" ,
29
+ " cla-bot" ,
29
30
" cli" ,
30
31
" cocoadocs" ,
31
32
" cocoapods" ,
61
62
" downleveling" ,
62
63
" ecma" ,
63
64
" env" ,
65
+ " epub" ,
64
66
" es2015" ,
65
67
" es2016" ,
66
68
" es6" ,
67
- " ESLint 's" ,
69
+ " eslint 's" ,
68
70
" eslint" ,
69
71
" ezel" ,
70
72
" facebook" ,
71
73
" fastlane" ,
72
- " Favor " ,
74
+ " favor " ,
73
75
" flexbox" ,
74
76
" frontend" ,
75
77
" frp" ,
90
92
" html5" ,
91
93
" hypergrowth" ,
92
94
" imagemagick" ,
93
- " Informationals " ,
95
+ " informationals " ,
94
96
" inline" ,
95
- " IntelliJ " ,
97
+ " intellij " ,
96
98
" intellisense" ,
97
99
" interop" ,
98
100
" isac" ,
124
126
" memcached" ,
125
127
" microservice" ,
126
128
" microservices" ,
129
+ " microsoft" ,
127
130
" modeling" ,
131
+ " monaco" ,
128
132
" mongo" ,
129
133
" mongodb" ,
130
- " Movie " ,
134
+ " movie " ,
131
135
" moya" ,
132
136
" mutablilty" ,
133
137
" mvc" ,
134
138
" mvvm" ,
135
139
" node.js" ,
136
140
" nodejs" ,
137
141
" nodemon" ,
138
- " non-Artsy " ,
142
+ " non-artsy " ,
139
143
" npm" ,
140
144
" npm" ,
141
145
" nullability" ,
142
- " OAuth " ,
146
+ " oauth " ,
143
147
" objc.io" ,
144
148
" oftentimes" ,
145
149
" ok" ,
164
168
" plugins" ,
165
169
" podspec" ,
166
170
" polyfill" ,
167
- " post-Artsy " ,
171
+ " post-artsy " ,
168
172
" postgres" ,
169
173
" postgres" ,
170
174
" pr" ,
181
185
" redis" ,
182
186
" redux" ,
183
187
" refetch" ,
184
- " renderProps " ,
188
+ " renderprops " ,
185
189
" repo" ,
186
190
" rfc" ,
187
191
" rfcs" ,
216
220
" trello" ,
217
221
" ts" ,
218
222
" tsconfig.json" ,
223
+ " tsconfig" ,
219
224
" tslib" ,
220
225
" tslint" ,
226
+ " twoslash" ,
221
227
" typescript-eslint" ,
222
228
" typings" ,
223
229
" typings" ,
224
230
" udacity" ,
225
231
" uiview" ,
226
232
" unclutter" ,
227
233
" uppercase" ,
228
- " URIs " ,
234
+ " uris " ,
229
235
" url" ,
230
236
" v2" ,
231
237
" v8" ,
232
238
" vars" ,
233
239
" visualstudios.com" ,
234
240
" voila" ,
235
241
" vscode" ,
236
- " Vue " ,
242
+ " vue " ,
237
243
" webhook" ,
238
244
" webhooks" ,
239
245
" webpack-y" ,
You can’t perform that action at this time.
0 commit comments