有两个责任;在第一个问题之前
我的项目层次结构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
谢谢
如果要生成文档不同的输出路径,请解决2个问题。
docfx init
_site in place of, output path as C:/Users/AhmetPC/Desktop/SourceCode
或者这个docfx.exe docfx.json -o C:/Users/AhmetPC/Desktop/SourceCode
它为我们创造了这条道路。
如果你保留docfx的默认输出文件夹_site
,你可以尝试docfx serve ./docs/_site
作为第一个问题。