Skip to content

docs(docs-infra): generate errors and extended-diagnostics route NavigationItem-s#59355

Closed
hawkgs wants to merge 2 commits intoangular:mainfrom
hawkgs:docs/route-nav-items-gen
Closed

docs(docs-infra): generate errors and extended-diagnostics route NavigationItem-s#59355
hawkgs wants to merge 2 commits intoangular:mainfrom
hawkgs:docs/route-nav-items-gen

Conversation

@hawkgs
Copy link
Member

@hawkgs hawkgs commented Jan 3, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Handles: #55593

What is the new behavior?

Generate the NavigationItem-s of the errors and extended-diagnostics routes as part of adev/shared-docs pipeline (at build time) and use the output JSON files instead of the hardcoded objects in the sub-navigation-data.ts.

The generator can be used for substituting most of the hardcoded data in sub-navigation-data.ts but I haven't done it yet since I think it's better having a review of the Bazel package design (the strategies part, I guess).

Does this PR introduce a breaking change?

  • Yes
  • No

@angular-robot angular-robot bot added area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure labels Jan 3, 2025
@ngbot ngbot bot added this to the Backlog milestone Jan 3, 2025
@hawkgs hawkgs force-pushed the docs/route-nav-items-gen branch from 95062fd to 69c57ed Compare January 3, 2025 10:17
@hawkgs hawkgs force-pushed the docs/route-nav-items-gen branch from 69c57ed to b6844ab Compare January 7, 2025 09:24
…gationItem-s

Generate the `NavigationItem`-s as part of adev/shared-docs pipeline and use the output JSON files instead of the hardcoded objects in the `sub-navigation-data.ts`.
@hawkgs hawkgs force-pushed the docs/route-nav-items-gen branch from 48e79db to c1e3870 Compare January 10, 2025 10:28
…te NavigationItem-s

Update code comments and improve MD file heading extraction.
@hawkgs hawkgs force-pushed the docs/route-nav-items-gen branch from c1e3870 to 02d37b4 Compare January 10, 2025 11:24
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

Deployed adev-preview for 02d37b4 to: https://ng-dev-previews-fw--pr-angular-angular-59355-adev-prev-nigq0hj9.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

Copy link
Member

@JeanMeche JeanMeche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this !!

@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Jan 14, 2025
@JeanMeche JeanMeche removed the request for review from crisbeto January 14, 2025 14:52
@kirjs
Copy link
Contributor

kirjs commented Jan 14, 2025

This PR was merged into the repository by commit 220608e.

The changes were merged into the following branches: main, 19.0.x, 19.1.x

kirjs pushed a commit that referenced this pull request Jan 14, 2025
…gationItem-s (#59355)

Generate the `NavigationItem`-s as part of adev/shared-docs pipeline and use the output JSON files instead of the hardcoded objects in the `sub-navigation-data.ts`.

PR Close #59355
kirjs pushed a commit that referenced this pull request Jan 14, 2025
…gationItem-s (#59355)

Generate the `NavigationItem`-s as part of adev/shared-docs pipeline and use the output JSON files instead of the hardcoded objects in the `sub-navigation-data.ts`.

PR Close #59355
@kirjs kirjs closed this in 220608e Jan 14, 2025
@hawkgs hawkgs deleted the docs/route-nav-items-gen branch January 14, 2025 16:23
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…gationItem-s (angular#59355)

Generate the `NavigationItem`-s as part of adev/shared-docs pipeline and use the output JSON files instead of the hardcoded objects in the `sub-navigation-data.ts`.

PR Close angular#59355
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker adev: preview area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants