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

chore: update guides to no longer include cdk-table #375

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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