This commit adds a guard that prevents rendering anchor links for private api's. Closes #38564 PR Close #38589
@alias
object