try this in common css of a theme or theme component:
.sidebar-section-link-wrapper {
.sidebar-section-link {
&[data-link-name="docs"] {
display: none;
}
}
}
i also just added a setting to my Navigation Menu Modifier TC for hiding the docs link.