-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support using full hexsha as default gitRevision value #2529
Labels
enhancement
Improved functionality
Comments
It seems reasonable to just switch to using the long version everywhere to me |
This was referenced Jul 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search Terms
full gitRevision
Problem
I want to set up git links to our git repo hosted on Azure DevOps (VSTS) with the following
sourceLinkTemplate
:However, the generated link is invalid because
{gitRevision}
is replaced by the prefix of hexsha (e.g.30e614c
) instead of the full hexsha (e.g.30e614cd9e7b5a154afa6a78f2e54f16550bfb4f
).It turns out that the
gitRevision
preset is using the short hexsha.typedoc/src/lib/converter/utils/repository.ts
Lines 125 to 131 in 30e614c
Is it possible to let us specify to use full hexsha in this case?
Suggested Solution
gitRevision
,gitRevision
to use full hexsha, but to allow us specify whether to use full hexsha value or only the prefix of it insourceLinkTemplate
, e.g.,{gitRevision:short}
.The text was updated successfully, but these errors were encountered: