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
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.
Is it possible to let us specify to use full hexsha in this case?
Suggested Solution
provide an option to use full hexsha as default gitRevision,
or change the default behavior of gitRevision to use full hexsha, but to allow us specify whether to use full hexsha value or only the prefix of it in sourceLinkTemplate, e.g., {gitRevision:short}.
The text was updated successfully, but these errors were encountered:
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: