You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configured custom logo (on the top left) is not shown for content under Additional documentation (including child pages), Classes, Interfaces and Miscellaneous, but shown as expected on root level pages.
Examples:
Custom logo is shown initially
Clicking on Getting started: custom logo is shown
Clicking on README: custom logo is shown
Clicking on Additional documentation: custom logo is shown (and child pages menu is shown)
Clicking on Additional documentation => Any Child Page: logo disappears
A copy from Browser console for the compodoc-menu component shows that the relative link for the custom logo
Overview of the issue
The configured custom logo (on the top left) is not shown for content under Additional documentation (including child pages), Classes, Interfaces and Miscellaneous, but shown as expected on root level pages.
Examples:
A copy from Browser console for the
compodoc-menu
component shows that the relative link for the custom logois not correct for the current depth:
It should be:
When I change the link in the Browser console to
../images/my-logo.png
the logo is shown.Prerequisites:
my-logo.png
is copied to./readme/images/
compodoc
command as in mypackage.json
scripts
section (compodoc
target:npm run compodoc
):Operating System, Node.js, npm, compodoc version(s)
Angular configuration, a
package.json
file in the root folderpackage.json
is in root folder as usual.Compodoc installed globally or locally ?
Locally and is content generated by locally executed command.
If possible sourcecode of the file where it breaks
Unknown.
If possible your terminal logs before the error
Live reload enabled.
After clicking on a child page link:
Motivation for or Use Case
The custom logo is not shown for child content pages but should be shown for all pages (i.e. always).
Reproduce the error
summary.json
Related issues
None, at least I couldn't find one in open issues.
Suggest a Fix
Find the code where the
custom-logo
links are generated and add a../
in front of each additional depth.The text was updated successfully, but these errors were encountered: