pmfp.entrypoint.doc_.build_.build_go
¶
Module Contents¶
Functions¶
|
|
|
为go项目更新api文档. |
-
pmfp.entrypoint.doc_.build_.build_go.
move_doc
(sourcep: pathlib.Path, outputp: pathlib.Path) → None[源代码]¶
-
pmfp.entrypoint.doc_.build_.build_go.
doc_build_go
(output: str, *, source_dir: str, is_web: bool = False, cwd: str = '.') → None[源代码]¶ 为go项目更新api文档. :param output: html文档位置 :type output: str :param source_dir: 文档源码位置 :type source_dir: str :param version: 项目版本 :type version: str :param is_web: 为真时执行`swag init –parseDependency –parseInternal` :type is_web: bool :param cwd: 执行命令的根目录 :type cwd: str