Skip to content

ADEV: add links to class methods in docs #67970

@AndrewKushnir

Description

@AndrewKushnir

Currently, class methods in the docs are not clickable and I can't navigate to a particular function from the main class definition. For example, if you open https://angular.dev/api/core/ApplicationRef, there is no way to navigate to the bootstrap function. Also, if you scroll down to the necessary function, you can't copy a link to this function (e.g. for sharing purposes). However, the link itself exists (try https://angular.dev/api/core/ApplicationRef#bootstrap).

The feature request is to implement the following:

  • Add an ability to navigate to a class method by clicking on a corresponding line in the main class definition (also updating the URL accordingly).
  • Add an ability to copy a URL to a particular method by clicking a button (which can appear on hover over the title of the class method section).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docs-infraAngular.dev application and infrastructureregressionIndicates than the issue relates to something that worked in a previous version

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions