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
{{ message }}
Repository navigation
docs(site): the footer logo 404s on every page except the homepage #424
The stock Docusaurus footer runs its logo through useBaseUrl, which is what turns a config path into a site-absolute one. This component was swizzled to get the Intersect layout (a justified decision, recorded in the file's own header comment) and the swizzle read logo.src directly. Nothing in the build catches it: the path is a string in JSX, so onBrokenLinks never sees it, and the image only fails at request time on nested routes.
Impact
Every docs page, which is most of the site. The homepage is the one page where the relative path happens to resolve.
Fix
useBaseUrl(logo.src) in the component, called before the if (!footer) return null early return so the hook order stays unconditional. That is the same call the stock navbar and footer make, and unlike hardcoding a leading slash it keeps working if the site is ever served under a subpath.
Acceptance
the footer <img> carries an absolute path on a nested page as well as on /
docusaurus build passes and tsc --noEmit is clean
the config value stays relative, since that is the convention the navbar uses too
Activity