2017-12-18 276 views
0

有两个责任; 第一个问题Docfx不建立和输出其他路径

我的项目层次this

和我之前想对每一个项目的代码文档为了这个,我使用docfx。第一个问题是 ; 我不希望构建代码被重建。 ex。

docfx ./docs/docfx.json --serve -> doing the build 

第二个问题; 我想要文档结果给我其他路径。 ex。

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

它为我们创造了这条道路

回答

0

如果您保留docfx的默认输出文件夹_site,则可以尝试docfx serve ./docs/_site作为第一个问题。