Skip to content

Commit 3a6121f

Browse files
bencodezenpkozlowski-opensource
authored andcommitted
docs: add new routing in-depth guide (angular#60006)
docs: update code snippet Co-authored-by: Andrew Scott <[email protected]> docs: update link Co-authored-by: Matthieu Riegler <[email protected]> docs: update syntax highlighting Co-authored-by: Andrew Scott <[email protected]> docs: correct example links docs: update load component with more concise syntax docs: fix link text docs: fix api docs link formatting docs: fix callout box types and rendering docs: truncate properties table docs: swap constructor routes to use inject instead docs: add other routing tasks info in subnav and remove duplicate info docs: fix type conversion param PR Close angular#60006
1 parent 1694739 commit 3a6121f

File tree

9 files changed

+1199
-698
lines changed

9 files changed

+1199
-698
lines changed

adev/src/app/sub-navigation-data.ts

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -332,19 +332,29 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
332332
contentPath: 'guide/routing/overview',
333333
},
334334
{
335-
label: 'Common routing tasks',
336-
path: 'guide/routing/common-router-tasks',
337-
contentPath: 'guide/routing/common-router-tasks',
335+
label: 'Define routes',
336+
path: 'guide/routing/define-routes',
337+
contentPath: 'guide/routing/define-routes',
338+
},
339+
{
340+
label: 'Show routes with Outlets',
341+
path: 'guide/routing/show-routes-with-outlets',
342+
contentPath: 'guide/routing/show-routes-with-outlets',
338343
},
339344
{
340-
label: 'Routing in single-page applications',
341-
path: 'guide/routing/router-tutorial',
342-
contentPath: 'guide/routing/router-tutorial',
345+
label: 'Navigate to routes',
346+
path: 'guide/routing/navigate-to-routes',
347+
contentPath: 'guide/routing/navigate-to-routes',
343348
},
344349
{
345-
label: 'Creating custom route matches',
346-
path: 'guide/routing/routing-with-urlmatcher',
347-
contentPath: 'guide/routing/routing-with-urlmatcher',
350+
label: 'Read route state',
351+
path: 'guide/routing/read-route-state',
352+
contentPath: 'guide/routing/read-route-state',
353+
},
354+
{
355+
label: 'Other routing tasks',
356+
path: 'guide/routing/common-router-tasks',
357+
contentPath: 'guide/routing/common-router-tasks',
348358
},
349359
{
350360
label: 'Router reference',

adev/src/assets/images/guide/router/nested-routing-diagram.svg

Lines changed: 27 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)