Skip to content

[Bug] Invalid link warnings from compiler generated fields #10570

Open
@Lombra

Description

@Lombra

Describe the bug
When compiling the documentation, I get invalid link warnings from what I think are compiler generated fields, similar to this:

warning InvalidBookmark: Invalid link: '<a href="api/Global.OvrCamera.yml#OvrCamera__OnLevelWasLoaded_m__0_System_String_">OvrCamera.&lt;OnLevelWasLoaded&gt;m__0(string)</a>'. The file api/Global.OvrCamera.yml doesn't contain a bookmark named 'OvrCamera__OnLevelWasLoaded_m__0_System_String_'.

To Reproduce
Steps to reproduce the behavior:

  1. Generate docs from an assembly

Context (please complete the following information):

  • OS: Debian 12
  • Docfx version: 2.78.3

Additional context
I don't fully understand how these fields work, and I don't know whether this is the intended behaviour, but I would be happy if there was an option to ignore these fields, assuming it's possible to identify them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions