Skip to content

[BUG] custom-logo links are broken for doc deployments with a path #1203

@deadratfink

Description

@deadratfink

The closed fix for #1147 (custom-logo links are broken for child content) does not allow a proper deployment of generated documentation under a path. I assume @compodoc/compodoc v1.1.18 (the one we use now) includes the fix.

When we deploy the generated docs we use a path, e.g. bar like in https://foo.com/bar/index.html to access our docs. If we do that the custom logo is not shown at all (not even on the root page of docs).

<img alt="" class="img-responsive" data-type="custom-logo" src={{strip-url "/images/" customLogo}}>

The fix done now expects images at root like https://foo.com/images/my-custom-logo.png instead of https://foo.com/bar/images/my-custom-logo.png. Pls could you add a dot in front of /images/ to make it relative (which then works also for path-based deployments):

<img alt="" class="img-responsive" data-type="custom-logo" src={{strip-url "./images/" customLogo}}>

Thx!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions