Links from DocumentationTool are not correct

When asking questions about docs, we have sources and links inlined into the response, e.g:

However, the links in the markdown are not referring to the right pages. They are relative paths.