Skip to content

Conversation

@hawkgs
Copy link
Member

@hawkgs hawkgs commented Feb 26, 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 new behavior?

The PR introduces a few doc content rendering fixes:

  • Fix highlighted section heading styles (regression from docs(docs-infra): fix card highlighting in the API reference details page #59965).
  • Convert JSDoc links within 'Usage Notes' sections to HTML and render them.
  • Add IDs to doc content headings. This, by itself, makes these headings available in the page ToC.
  • Fix an issue with links not properly rendering when wrapped by em (Ps. The current styling approach for anchors is not very flexible and I suspect it might require some refactoring since it clearly misses some use cases which results in broken/built-in appearance)

Does this PR introduce a breaking change?

  • Yes
  • No

The PR introduces a few doc content rendering fixes:
- Fix highlighted section heading styles (regression from angular#59965).
- Convert JSDoc links within 'Usage Notes' sections to HTML and render them.
- Add IDs to doc content headings. This, by itself, makes these headings available in the page ToC.
@pullapprove pullapprove bot requested a review from devversion February 26, 2025 15:45
@angular-robot angular-robot bot added area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure labels Feb 26, 2025
@ngbot ngbot bot modified the milestone: Backlog Feb 26, 2025
* A reference to an Angular application running on a page.
*
* @usageNotes
* {@a is-stable-examples}
Copy link
Member Author

Choose a reason for hiding this comment

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

Noticed two of these JSDoc tags in the code base. It seems that they are some sort of legacy markers that serve no purpose, so I decided to drop them. Let me know if they are needed.

@github-actions
Copy link

github-actions bot commented Feb 26, 2025

Deployed adev-preview for f3f4eda to: https://ng-dev-previews-fw--pr-angular-angular-60116-adev-prev-i28ozmwc.web.app

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

@devversion devversion requested review from JeanMeche and removed request for devversion March 2, 2025 10:53
@pullapprove pullapprove bot requested a review from devversion March 2, 2025 10:53
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

LGTM for upgrade/core JSDoc

@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 Mar 4, 2025
@mmalerba
Copy link
Contributor

mmalerba commented Mar 4, 2025

This PR was merged into the repository by commit 2b114e7.

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

@mmalerba mmalerba closed this in 2b114e7 Mar 4, 2025
mmalerba pushed a commit that referenced this pull request Mar 4, 2025
The PR introduces a few doc content rendering fixes:
- Fix highlighted section heading styles (regression from #59965).
- Convert JSDoc links within 'Usage Notes' sections to HTML and render them.
- Add IDs to doc content headings. This, by itself, makes these headings available in the page ToC.

PR Close #60116
@hawkgs hawkgs deleted the docs/api-doc-content-rendering-fixes branch March 5, 2025 15:45
@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 Apr 5, 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