Skip to content

invalid link when referencing the same local images from multiple doc locations #2627

@obiot

Description

@obiot

Search terms

img src invalid link

Expected Behavior

when referencing multiple time a "local" image from a repository, the generated typedoc should properly includes a link or a copy to the same image in all referenced documentation point.

Actual Behavior

Typedoc will copy the image under the destination folder renaming the file to imagename-[x]ext, and properly setting the link to the copied image for one of the reference, but letting the original imagename.ext filename for the other one.

Steps to reproduce the bug

here is an example where both use the same source image :

Link to our repo : https://github.com/melonjs/melonJS
tsconfig.json
tsconfig.base.json

Environment

  • Typedoc version: 0.26.3
  • TypeScript version: 5.5.2
  • Node.js version: 20.11.0
  • OS: MacOS 14.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions