Skip to content

Commit 92f30a7

Browse files
jelbournAndrewKushnir
authored andcommitted
docs: reorganize NgModule and Animations guides (angular#58694)
* Move the NgModules and Animations guide under "Extended Ecosystem" * Remove all NgModule topics except for the (newly written) overview. All of the content in these topics was inherently written on the idea that your application was organized around NgModules. I went through all of it, moved the important parts to the overview, and deemed the rest obsolete (though it will always remain in archived versions). PR Close angular#58694
1 parent 0deb6f9 commit 92f30a7

File tree

7 files changed

+78
-1279
lines changed

7 files changed

+78
-1279
lines changed

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

Lines changed: 35 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -561,36 +561,6 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
561561
},
562562
],
563563
},
564-
{
565-
label: 'Animations',
566-
children: [
567-
{
568-
label: 'Overview',
569-
path: 'guide/animations',
570-
contentPath: 'guide/animations/overview',
571-
},
572-
{
573-
label: 'Transition and Triggers',
574-
path: 'guide/animations/transition-and-triggers',
575-
contentPath: 'guide/animations/transition-and-triggers',
576-
},
577-
{
578-
label: 'Complex Sequences',
579-
path: 'guide/animations/complex-sequences',
580-
contentPath: 'guide/animations/complex-sequences',
581-
},
582-
{
583-
label: 'Reusable Animations',
584-
path: 'guide/animations/reusable-animations',
585-
contentPath: 'guide/animations/reusable-animations',
586-
},
587-
{
588-
label: 'Route transition animations',
589-
path: 'guide/animations/route-animations',
590-
contentPath: 'guide/animations/route-animations',
591-
},
592-
],
593-
},
594564
{
595565
label: 'Experimental features',
596566
children: [
@@ -772,6 +742,41 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
772742
{
773743
label: 'Extended Ecosystem',
774744
children: [
745+
{
746+
label: 'NgModules',
747+
path: 'guide/ngmodules/overview',
748+
contentPath: 'guide/ngmodules/overview',
749+
},
750+
{
751+
label: 'Animations',
752+
children: [
753+
{
754+
label: 'Overview',
755+
path: 'guide/animations',
756+
contentPath: 'guide/animations/overview',
757+
},
758+
{
759+
label: 'Transition and Triggers',
760+
path: 'guide/animations/transition-and-triggers',
761+
contentPath: 'guide/animations/transition-and-triggers',
762+
},
763+
{
764+
label: 'Complex Sequences',
765+
path: 'guide/animations/complex-sequences',
766+
contentPath: 'guide/animations/complex-sequences',
767+
},
768+
{
769+
label: 'Reusable Animations',
770+
path: 'guide/animations/reusable-animations',
771+
contentPath: 'guide/animations/reusable-animations',
772+
},
773+
{
774+
label: 'Route transition animations',
775+
path: 'guide/animations/route-animations',
776+
contentPath: 'guide/animations/route-animations',
777+
},
778+
],
779+
},
775780
{
776781
label: 'Using RxJS with Angular',
777782
children: [
@@ -1446,46 +1451,6 @@ const REFERENCE_SUB_NAVIGATION_DATA: NavigationItem[] = [
14461451
},
14471452
],
14481453
},
1449-
{
1450-
label: 'Concepts',
1451-
children: [
1452-
{
1453-
label: 'Overview',
1454-
path: 'reference/concepts',
1455-
contentPath: 'reference/concepts/overview',
1456-
},
1457-
{
1458-
label: 'NgModule',
1459-
children: [
1460-
{
1461-
label: 'Overview',
1462-
path: 'guide/ngmodules',
1463-
contentPath: 'guide/ngmodules/overview',
1464-
},
1465-
{
1466-
label: 'Providing dependencies',
1467-
path: 'guide/ngmodules/providers',
1468-
contentPath: 'guide/ngmodules/providers',
1469-
},
1470-
{
1471-
label: 'Singleton services',
1472-
path: 'guide/ngmodules/singleton-services',
1473-
contentPath: 'guide/ngmodules/singleton-services',
1474-
},
1475-
{
1476-
label: 'Lazy-loading feature modules',
1477-
path: 'guide/ngmodules/lazy-loading',
1478-
contentPath: 'guide/ngmodules/lazy-loading',
1479-
},
1480-
{
1481-
label: 'NgModule FAQs',
1482-
path: 'guide/ngmodules/faq',
1483-
contentPath: 'guide/ngmodules/faq',
1484-
},
1485-
],
1486-
},
1487-
],
1488-
},
14891454
];
14901455

14911456
const FOOTER_NAVIGATION_DATA: NavigationItem[] = [

0 commit comments

Comments
 (0)