fixes broken links in the API [Fixes #11335] [ci skip]