-
-
Notifications
You must be signed in to change notification settings - Fork 416
Description
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).
compodoc/src/templates/partials/menu.hbs
Line 20 in db47436
| <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!