weixin_39859819
weixin_39859819
2020-12-04 19:32

GitHub Relative Links do not work on docs.microsoft.com/samples

When our readme pages are generated from the markdown for ingestion into docs.microsoft.com, relative links are not made relative to the document's location on github (as they would be if they were displayed here on github). Instead, they convert into broken links that are relative to the page on docs.microsoft.com.

See this example : https://docs.microsoft.com/en-us/samples/azure/azure-sdk-for-js/keyvault-certificates-typescript/

... in which the purgeAllCertificates.ts link is broken.

Seems that we have to take extra care to make sure link URI's in material that is rendered through docs.microsoft.com/samples are absolute.

该提问来源于开源项目:Azure/azure-sdk-for-js

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答

为你推荐

换一换