2017-12-18 292 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作爲第一個問題。