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
fix: make sidebar path detection work in both infrahub-sdk-python and infrahub-docs
The sync workflow copies sidebar files from docs/sidebars/ (source) to docs/ (target),
changing __dirname and breaking all hardcoded relative paths to doc content directories.
Add getDocsBaseDir() to sidebar-utils.ts which probes for the SDK-repo directory layout
and returns the correct base path regardless of which repo the file is executing in.
Both sidebar files now use getDocsBaseDir() instead of hardcoded __dirname-relative paths.
0 commit comments