Skip to content

Commit 8fa8214

Browse files
committed
feat: remove guide pages from the scope, as it is decommisioned on mdn
1 parent 16ca11e commit 8fa8214

4 files changed

Lines changed: 2 additions & 13 deletions

File tree

external/original-content

Submodule original-content updated 9010 files

external/translated-content

Submodule translated-content updated 379 files

src/registry/index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,6 @@ class Registry {
253253
`${pathToOriginalContent}/${sourceLocale.toLowerCase()}/web/svg`,
254254
);
255255

256-
const guideSourcePages = await walk(
257-
`${pathToOriginalContent}/${sourceLocale.toLowerCase()}/web/guide`,
258-
);
259-
260256
const otherSourcePages = await walk(
261257
`${pathToOriginalContent}/${sourceLocale.toLowerCase()}/web/`,
262258
false,
@@ -290,10 +286,6 @@ class Registry {
290286
'javascript',
291287
);
292288
const svgProcessingTasks = await this.processSection(svgSourcePages, 'svg');
293-
const guideProcessingTasks = await this.processSection(
294-
guideSourcePages,
295-
'guide',
296-
);
297289
const otherPagesProcessingTasks = await this.processSection(
298290
otherSourcePages,
299291
'',
@@ -303,7 +295,6 @@ class Registry {
303295
'HTML Pages': htmlProcessingTasks.length,
304296
'JavaScript Pages': javascriptProcessingTasks.length,
305297
'SVG Pages': svgProcessingTasks.length,
306-
Guides: guideProcessingTasks.length,
307298
Glossary: glossaryProcessingTasks.length,
308299
'Other Pages': otherPagesProcessingTasks.length,
309300
});
@@ -312,7 +303,6 @@ class Registry {
312303
...htmlProcessingTasks,
313304
...javascriptProcessingTasks,
314305
...svgProcessingTasks,
315-
...guideProcessingTasks,
316306
...glossaryProcessingTasks,
317307
...otherPagesProcessingTasks,
318308
];

src/runner/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const existingSectionsUrls = [
2121
'/uk/docs/web/html/',
2222
'/uk/docs/web/css/',
2323
'/uk/docs/web/svg/',
24-
'/uk/docs/web/guide/',
2524
'/uk/docs/glossary/',
2625
];
2726

0 commit comments

Comments
 (0)