Replies: 1 comment
-
GitHub URL seems to be constructed here: docfx/templates/common/common.js Line 74 in 02bc21e A quick hack might be to detach HEAD and clear all the branch-name environment variables so that DocFX uses the commit ID rather than the branch name. However, this would likely affect the "Improve this doc" links as well, and might be undesirable there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example. this is a "View Source" link that is generated:
https://github.com/Singulink/Singulink.Collections/blob/main/Source/Singulink.Collections/HashSetDictionary.cs/#L266
When really, it should be the "permalink" as follows, otherwise as the code evolves and changes, the links will no longer be valid:
https://github.com/Singulink/Singulink.Collections/blob/0555c704bdb939a21863f67de7ed68a7f6e07600/Source/Singulink.Collections/HashSetDictionary.cs#L266
Is there a way to configure the view source links to point to the permalink instead of something that can and does change?
Beta Was this translation helpful? Give feedback.
All reactions