You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When clicking a "View source" link to an Azure DevOps remote repository, there is no line highlighting in the Azure DevOps source code viewer.
The links currently append &line={source.Line} to the URL which does not achieve anything in the Azure DevOps source code viewer. To highlight a line of code, Azure DevOps requires:
Describe the bug
When clicking a "View source" link to an Azure DevOps remote repository, there is no line highlighting in the Azure DevOps source code viewer.
The links currently append
&line={source.Line}
to the URL which does not achieve anything in the Azure DevOps source code viewer. To highlight a line of code, Azure DevOps requires:This is the pattern generated when copying the link to a line within Azure DevOps and is also described here. Result with
source.Line = 7
:The link seems to be generated here: https://github.com/dotnet/docfx/blob/main/src/Docfx.Common/Git/GitUtility.cs#L77
To Reproduce
Expected behavior
I expect
startLine
in the API YAML file to be highlighted within Azure DevOps.Context (please complete the following information):
The text was updated successfully, but these errors were encountered: