【问题标题】:Docfx not build and output other pathDocfx 不构建和输出其他路径
【发布时间】:2017-12-18 09:24:06
【问题描述】:

有两个职责; 在第一个问题之前

我的项目层次结构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

它为我们创造了这条道路。

【问题讨论】:

    标签: .net visual-studio .net-core documentation-generation docfx


    【解决方案1】:

    如果你保留docfx的默认输出文件夹_site,第一个问题可以试试docfx serve ./docs/_site

    【讨论】:

      猜你喜欢
      • 2011-11-04
      • 2015-05-07
      • 2013-10-18
      • 1970-01-01
      • 1970-01-01
      • 2021-11-27
      • 1970-01-01
      • 2016-12-11
      • 1970-01-01
      相关资源
      最近更新 更多