/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
adev/src/app/routing/sub-navigation-data.ts
32 строки
921 B
Matthieu Riegler
docs(docs-infra): Throw build error on invalid guide links
13 янв 2026, 00:38
Не верифицирован
13 янв 2026, 00:38
c09f535
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {NavigationItem} from '@angular/docs'; import { DOCS_SUB_NAVIGATION_DATA, FOOTER_NAVIGATION_DATA, REFERENCE_SUB_NAVIGATION_DATA, TUTORIALS_SUB_NAVIGATION_DATA, } from './navigation-entries'; interface SubNavigationData { docs: NavigationItem[]; reference: NavigationItem[]; tutorials: NavigationItem[]; footer: NavigationItem[]; } // Docs navigation data structure, it's used to display structure in // navigation-list component And build the routing table for content pages. export const SUB_NAVIGATION_DATA: SubNavigationData = { docs: DOCS_SUB_NAVIGATION_DATA, reference: REFERENCE_SUB_NAVIGATION_DATA, tutorials: TUTORIALS_SUB_NAVIGATION_DATA, footer: FOOTER_NAVIGATION_DATA, };