Skip to content

Commit

Permalink
chore: update guides to no longer include cdk-table (#375)
Browse files Browse the repository at this point in the history
* The cdk-table guide became the overview document for the cdk table component. Therefore it's no longer a guide.
  • Loading branch information
sailing-dev committed Jan 24, 2018
1 parent 51d54b6 commit b3e1535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export const MATERIAL_DOCS_ROUTES: Routes = [
{path: '', component: Homepage, pathMatch: 'full', data: {}},
{path: 'categories', redirectTo: '/components/categories'},
{path: 'guides', component: GuideList, data: {}},
// Since https://github.com/angular/material2/pull/9574, the cdk-table guide became the overview
// document for the cdk table. To avoid any dead / broken links, we redirect to the new location.
{path: 'guide/cdk-table', redirectTo: '/cdk/table/overview'},
{path: 'guide/:id', component: GuideViewer, data: {}},
{
path: ':section',
Expand Down
5 changes: 0 additions & 5 deletions src/app/shared/guide-items/guide-items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ const GUIDES = [
name: `Using Angular Material's Typography`,
document: '/assets/documents/guides/material-typography.html',
},
{
id: 'cdk-table',
name: `CDK data-table`,
document: '/assets/documents/guides/material-cdk-table.html',
},
{
id: 'customizing-component-styles',
name: 'Customizing component styles',
Expand Down

0 comments on commit b3e1535

Please sign in to comment.