mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
docs(data-source): 更新插件安装函数的参数文档说明 (#2069)
Some checks failed
检查bot是否运行正常 / bot check (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Force Sync to Aliyun / sync (push) Has been cancelled
Update Version / update-version (push) Has been cancelled
Sequential Lint and Type Check / pyright-call (push) Has been cancelled
Some checks failed
检查bot是否运行正常 / bot check (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Force Sync to Aliyun / sync (push) Has been cancelled
Update Version / update-version (push) Has been cancelled
Sequential Lint and Type Check / pyright-call (push) Has been cancelled
修改 StoreManager 类中安装插件函数的文档字符串,更新参数列表说 明。将原有的 github_url、module_path、is_dir 参数说明替换为 plugin_info 和 source 参数说明,保持文档与实际函数签名一致。
This commit is contained in:
parent
4b8013d2d6
commit
eb6d90ae88
@ -263,10 +263,9 @@ class StoreManager:
|
|||||||
"""安装插件
|
"""安装插件
|
||||||
|
|
||||||
参数:
|
参数:
|
||||||
github_url: 仓库地址
|
plugin_info: 插件信息
|
||||||
module_path: 模块路径
|
|
||||||
is_dir: 是否是文件夹
|
|
||||||
is_external: 是否是外部仓库
|
is_external: 是否是外部仓库
|
||||||
|
source: 源
|
||||||
"""
|
"""
|
||||||
repo_type = RepoType.GITHUB if is_external else None
|
repo_type = RepoType.GITHUB if is_external else None
|
||||||
if source == "ali":
|
if source == "ali":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user