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
Route assets and counters through useBaseUrl for preview deploy compatibility
Components and pages hardcoded /RMC-Software-Documentation/ for figure/video src
paths, counter JSON fetches, bibliography lookups, and version metadata. Under PR
preview builds the active baseUrl differs, so those requests resolved against the
production deploy instead — breaking new figures, captions, cross-references, and
citations on preview builds.
React components and pages now use useBaseUrl(); the analyticsEvents client module
uses siteConfig.baseUrl from @generated/docusaurus.config.
0 commit comments