在第一个问题之前,有两个责任
我的项目层次结构this
我希望为每个项目代码提供文档,为此我使用docfx。第一个问题;我不想重建建筑代码。例如。
docfx ./docs/docfx.json --serve -> doing the build第二个问题;我想要文档结果给我另一条路径。例如。
C:\Users\ahmet\Documentation代码
docfx docfx ./docs/docfx.json -o -C:\Users\ahmet\Documentation > not working
和我的docfx.json configration
谢谢
两个问题的解决方案,如果你想生成不同输出路径的文档。
docfx init
_site in place of, output path as C:/Users/AhmetPC/Desktop/SourceCode
或者这个docfx.exe docfx.json -o C:/Users/AhmetPC/Desktop/SourceCode
它为我们创造了这条路径。
发布于 2018-03-07 22:57:21
如果您保留默认的输出文件夹_site,那么您可以针对第一个问题尝试docfx serve ./docs/_site。
https://stackoverflow.com/questions/47865340
复制相似问题