@@ -10,15 +10,15 @@ import {isDevMode} from '@angular/core';
1010import { NavigationItem } from '@angular/docs' ;
1111
1212// These 2 imports are expected to be red because they are generated a build time
13- import FIRST_APP_TUTORIAL_NAV_DATA from '../../src/assets/tutorials/first-app/routes.json' ;
14- import LEARN_ANGULAR_TUTORIAL_NAV_DATA from '../../src/assets/tutorials/learn-angular/routes.json' ;
15- import DEFERRABLE_VIEWS_TUTORIAL_NAV_DATA from '../../src/assets/tutorials/deferrable-views/routes.json' ;
16- import SIGNALS_TUTORIAL_NAV_DATA from '../../src/assets/tutorials/signals/routes.json' ;
17- import ERRORS_NAV_DATA from '../../src/assets/content/reference/errors/routes.json' ;
18- import EXT_DIAGNOSTICS_NAV_DATA from '../../src/assets/content/reference/extended-diagnostics/routes.json' ;
13+ import FIRST_APP_TUTORIAL_NAV_DATA from '../../../ src/assets/tutorials/first-app/routes.json' ;
14+ import LEARN_ANGULAR_TUTORIAL_NAV_DATA from '../../../ src/assets/tutorials/learn-angular/routes.json' ;
15+ import DEFERRABLE_VIEWS_TUTORIAL_NAV_DATA from '../../../ src/assets/tutorials/deferrable-views/routes.json' ;
16+ import SIGNALS_TUTORIAL_NAV_DATA from '../../../ src/assets/tutorials/signals/routes.json' ;
17+ import ERRORS_NAV_DATA from '../../../ src/assets/content/reference/errors/routes.json' ;
18+ import EXT_DIAGNOSTICS_NAV_DATA from '../../../ src/assets/content/reference/extended-diagnostics/routes.json' ;
1919
20- import { getApiNavigationItems } from './features/references/helpers/manifest.helper' ;
21- import { DEFAULT_PAGES } from './core/constants/pages' ;
20+ import { getApiNavigationItems } from '.. /features/references/helpers/manifest.helper' ;
21+ import { DEFAULT_PAGES } from '.. /core/constants/pages' ;
2222
2323interface SubNavigationData {
2424 docs : NavigationItem [ ] ;
@@ -396,17 +396,17 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
396396 contentPath : 'guide/routing/rendering-strategies' ,
397397 status : 'new' ,
398398 } ,
399- {
400- label : 'ルーターリファレンス' ,
401- path : 'guide/routing/router-reference' ,
402- contentPath : 'guide/routing/router-reference' ,
403- } ,
404399 {
405400 label : 'ルートの動作のカスタマイズ' ,
406401 path : 'guide/routing/customizing-route-behavior' ,
407402 contentPath : 'guide/routing/customizing-route-behavior' ,
408403 status : 'new' ,
409404 } ,
405+ {
406+ label : 'ルーターリファレンス' ,
407+ path : 'guide/routing/router-reference' ,
408+ contentPath : 'guide/routing/router-reference' ,
409+ } ,
410410 {
411411 label : 'ルート遷移アニメーション' ,
412412 path : 'guide/routing/route-transition-animations' ,
@@ -672,11 +672,71 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
672672 } ,
673673 ] ,
674674 } ,
675- {
675+ {
676676 label : 'Drag and drop' ,
677677 path : 'guide/drag-drop' ,
678678 contentPath : 'guide/drag-drop' ,
679679 } ,
680+ // TODO: unwrap to release Angular Aria docs.
681+ ...( isDevMode ( )
682+ ? [
683+ {
684+ label : 'Angular Aria' ,
685+ children : [
686+ {
687+ label : 'Overview' ,
688+ path : 'guide/aria/overview' ,
689+ contentPath : 'guide/aria/overview' ,
690+ } ,
691+ {
692+ label : 'Accordion' ,
693+ path : 'guide/aria/accordion' ,
694+ contentPath : 'guide/aria/accordion' ,
695+ } ,
696+ {
697+ label : 'Combobox' ,
698+ path : 'guide/aria/combobox' ,
699+ contentPath : 'guide/aria/combobox' ,
700+ } ,
701+ {
702+ label : 'Grid' ,
703+ path : 'guide/aria/grid' ,
704+ contentPath : 'guide/aria/grid' ,
705+ } ,
706+ {
707+ label : 'Listbox' ,
708+ path : 'guide/aria/listbox' ,
709+ contentPath : 'guide/aria/listbox' ,
710+ } ,
711+ {
712+ label : 'Menu' ,
713+ path : 'guide/aria/menu' ,
714+ contentPath : 'guide/aria/menu' ,
715+ } ,
716+ {
717+ label : 'Radio Group' ,
718+ path : 'guide/aria/radio' ,
719+ contentPath : 'guide/aria/radio' ,
720+ } ,
721+ {
722+ label : 'Tabs' ,
723+ path : 'guide/aria/tabs' ,
724+ contentPath : 'guide/aria/tabs' ,
725+ } ,
726+ {
727+ label : 'Toolbar' ,
728+ path : 'guide/aria/toolbar' ,
729+ contentPath : 'guide/aria/toolbar' ,
730+ } ,
731+ {
732+ label : 'Tree' ,
733+ path : 'guide/aria/tree' ,
734+ contentPath : 'guide/aria/tree' ,
735+ } ,
736+ ] ,
737+ } ,
738+ ]
739+ : [ ] ) ,
680740 ] ,
681741 } ,
682742 {
@@ -985,6 +1045,11 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
9851045 path : 'ecosystem/service-workers/getting-started' ,
9861046 contentPath : 'ecosystem/service-workers/getting-started' ,
9871047 } ,
1048+ {
1049+ label : '独自のService Workerスクリプト' ,
1050+ path : 'ecosystem/service-workers/custom-service-worker-scripts' ,
1051+ contentPath : 'ecosystem/service-workers/custom-service-worker-scripts' ,
1052+ } ,
9881053 {
9891054 label : '設定ファイル' ,
9901055 path : 'ecosystem/service-workers/config' ,
@@ -1434,6 +1499,18 @@ const REFERENCE_SUB_NAVIGATION_DATA: NavigationItem[] = [
14341499 path : 'reference/migrations/self-closing-tags' ,
14351500 contentPath : 'reference/migrations/self-closing-tags' ,
14361501 } ,
1502+ {
1503+ label : 'NgClass to Class' ,
1504+ path : 'reference/migrations/ngclass-to-class' ,
1505+ contentPath : 'reference/migrations/ngclass-to-class' ,
1506+ status : 'new' ,
1507+ } ,
1508+ {
1509+ label : 'NgStyle to Style' ,
1510+ path : 'reference/migrations/ngstyle-to-style' ,
1511+ contentPath : 'reference/migrations/ngstyle-to-style' ,
1512+ status : 'new' ,
1513+ } ,
14371514 ] ,
14381515 } ,
14391516] ;
0 commit comments