【问题标题】:Dartdoc -> Exclude method bodyDartdoc -> 排除方法体
【发布时间】:2021-11-05 04:01:59
【问题描述】:

我正在尝试使用 dartdoc 生成文档。

但是当我运行时......它包括方法体,例如方法内的代码。

我怎样才能要求它只使用方法签名(排除方法体)。

谢谢。

【问题讨论】:

    标签: flutter dart dartdoc


    【解决方案1】:

    运行dartdoc --help 显示:

        --[no-]include-source                         Show source code blocks.
                                                      (defaults to on)
    

    【讨论】:

    • 太棒了。谢谢你。 :)
    猜你喜欢
    • 1970-01-01
    • 2016-08-08
    • 1970-01-01
    • 1970-01-01
    • 2015-03-20
    • 2017-01-16
    • 2017-03-23
    • 2015-03-06
    • 2021-01-13
    相关资源
    最近更新 更多