Skip to content

adev: Example references by @example are missing #56321

Closed

Description

@jnizet

Describe the problem that you experienced

The sections of the documentation such as {@example router/route_functional_guards.ts region="CanMatchFn"} either appear as is in the reference documentation, or don't appear at all.

Enter the URL of the topic with the problem

http://localhost:4200/api/router/CanMatchFn?tab=description

Describe what you were looking for in the documentation

No response

Describe the actions that led you to experience the problem

Trying to encourage people to read the official docuentation in the Angular Discord

Describe what you want to experience that would fix the problem

No response

Add a screenshot if that helps illustrate the problem

No response

If this problem caused an exception or error, please paste it here

No response

If the problem is browser-specific, please specify the device, OS, browser, and version

No response

Provide any additional information here in as much as detail as you can

In other pages, such as https://angular.dev/api/common/NgIf?tab=usage-notes, similar examples are completely omitted from the page. For example, the documentation in the source code has 

 
 * ### Using an external `then` template
 *
 * In the previous example, the then-clause template is specified inline, as the content of the
 * tag that contains the `ngIf` directive. You can also specify a template that is defined
 * externally, by referencing a labeled `<ng-template>` element. When you do this, you can
 * change which template to use at runtime, as shown in the following example.
 *
 * {@example common/ngIf/ts/module.ts region='NgIfThenElse'}

But in the rendered page, there is no following example being displayed.

Activity

  1. added this to the needsTriage milestone on Jun 7, 2024
  2. added
    P3
    on Jun 24, 2024
  3. modified the milestones: needsTriage, Backlog on Jun 24, 2024
  4. changed the title [-]adev: examples are missing[/-] [+]adev: Example references by `@examples` are missing[/+] on Jul 15, 2024
  5. changed the title [-]adev: Example references by `@examples` are missing[/-] [+]adev: Example references by `@example` are missing[/+] on Jul 15, 2024
  6. added
    area: docs-infra
    P2
    and removed
    P3
    on Nov 24, 2024
  7. JeanMeche commented on Nov 24, 2024

    @JeanMeche
    Member

    Bumping the priority, A lot of examples are missing because of this.

  8. hawkgs commented on Nov 28, 2024

    @hawkgs
    Member

    Just wanted to chime in – I started working on this one.

  9. JeanMeche commented on Apr 7, 2025

    @JeanMeche
    Member

    Thanks for the help @hawkgs 💪

  10. angular-automatic-lock-bot commented on May 8, 2025

    @angular-automatic-lock-bot

    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.

  11. locked and limited conversation to collaborators on May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2area: docs-infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions