doc: 补全部分注释

This commit is contained in:
RockChinQ
2024-03-03 16:34:59 +08:00
parent ce881372ee
commit 2fe6d731b8
34 changed files with 66 additions and 17 deletions

View File

@@ -7,6 +7,7 @@ from ..core import app
class PluginInstaller(metaclass=abc.ABCMeta):
"""插件安装器抽象类"""
ap: app.Application

View File

@@ -12,6 +12,8 @@ from ...utils import pkgmgr
class GitHubRepoInstaller(installer.PluginInstaller):
"""GitHub仓库插件安装器
"""
def get_github_plugin_repo_label(self, repo_url: str) -> list[str]:
"""获取username, repo"""

View File

@@ -9,7 +9,7 @@ from . import context, events
class PluginLoader(metaclass=abc.ABCMeta):
"""插件加载器"""
"""插件加载器抽象类"""
ap: app.Application

View File

@@ -10,6 +10,7 @@ from .installers import github
class PluginManager:
"""插件管理器"""
ap: app.Application

View File

@@ -6,6 +6,7 @@ from . import context
class SettingManager:
"""插件设置管理器"""
ap: app.Application