Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 2519794

Browse files
devversionjelbourn
authored andcommitted
chore: update guides to no longer include cdk-table (#375)
* The cdk-table guide became the overview document for the cdk table component. Therefore it's no longer a guide.
1 parent b7d033a commit 2519794

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/app/routes.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export const MATERIAL_DOCS_ROUTES: Routes = [
1919
{path: '', component: Homepage, pathMatch: 'full', data: {}},
2020
{path: 'categories', redirectTo: '/components/categories'},
2121
{path: 'guides', component: GuideList, data: {}},
22+
// Since https://github.com/angular/material2/pull/9574, the cdk-table guide became the overview
23+
// document for the cdk table. To avoid any dead / broken links, we redirect to the new location.
24+
{path: 'guide/cdk-table', redirectTo: '/cdk/table/overview'},
2225
{path: 'guide/:id', component: GuideViewer, data: {}},
2326
{
2427
path: ':section',

src/app/shared/guide-items/guide-items.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ const GUIDES = [
2727
name: `Using Angular Material's Typography`,
2828
document: '/assets/documents/guides/material-typography.html',
2929
},
30-
{
31-
id: 'cdk-table',
32-
name: `CDK data-table`,
33-
document: '/assets/documents/guides/material-cdk-table.html',
34-
},
3530
{
3631
id: 'customizing-component-styles',
3732
name: 'Customizing component styles',

0 commit comments

Comments
 (0)