简体   繁体   中英

DocFx does not generate documentation

I'm trying to use DocFx to generate API documentation. I was under the impression that if I added docfx.console as a nuget package to my .NET project and built it, the documentation would be generated automatically. But that does not seem to be happening. It does generate some html files inside the _sites folder, but it doesn't convert my XML comments to a friendly doc format. What am I doing wrong? My project is ASP.NET MVC with C# (.NET 4.6.1).

I have the same problem. I solved by using command docfx build [your project folder] then docfx serve [your project folder again] on Developer Command.

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