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
{{ message }}
Repository navigation
Doc for --disableGitFeatures doesn't explain what the "git features" are #5732
Skipping GetFileDetail. Exception found: Microsoft.DocAsCode.Common.Git.GitException, Message:
[...] can't find remote branch in this repo and fallback to use local branch [master]: fatal: no upstream configured for branch 'master'
My understanding was that git features allows you to jump to source code from API reference, but that may be incorrect/incomplete (so you're definitely right the documentation needs improving)
In DocFX v2.50, the disableGitFeatures flag is checked (as opposed to being propagated) only by GitUtility.TryGetFileDetail, which collects the remote repository URL and branch name. The template then generates the URL for the "Improve this Doc" link from those.
In DocFX v3, there is instead code to get the GitHub login names of people who contributed to the documentation. Which can't work if the repository is hosted elsewhere.
Activity
QFSW commentedon Apr 7, 2020
My understanding was that git features allows you to jump to source code from API reference, but that may be incorrect/incomplete (so you're definitely right the documentation needs improving)
KalleOlaviNiemitalo commentedon Apr 8, 2020
In DocFX v2.50, the
disableGitFeaturesflag is checked (as opposed to being propagated) only by GitUtility.TryGetFileDetail, which collects the remote repository URL and branch name. The template then generates the URL for the "Improve this Doc" link from those.In DocFX v3, there is instead code to get the GitHub login names of people who contributed to the documentation. Which can't work if the repository is hosted elsewhere.