简体   繁体   中英

docfx project with git under tfs

I'm trying to create docfx project. Sources are hosted on TFS server in GIT repository.

Everything is ok except absence of Improve this Doc link.

Is there way to make this link appear and work for such configuration?

Try adding this part to docfx.json

"globalMetadata": {
  "_gitUrlPattern": "vso"
},

I could reproduce your scenario. There is no Improve this Doc link when you the repo clone from TFS 2017, but the link does show up when you clone repo from VSTS. It seems Improve this Doc link doesn't support on-premises TFS, I'd like to suggest you open an issue on the site below to get help from Docfx side:

https://github.com/dotnet/docfx/issues

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM