doc: 更新 master 文档,并移除多余图片

This commit is contained in:
我叫以赏
2023-04-16 16:38:18 +08:00
parent d71f8ce368
commit 0569d32784
18 changed files with 505 additions and 147 deletions
-8
View File
@@ -10,14 +10,6 @@ from .main import helloworld_blueprint
dir_path = os.path.dirname(__file__).replace("\\", "/")
folder_name = dir_path[dir_path.rfind("/") + 1:] # 插件文件夹名称
def event_enable():
"""当此插件被启用时会调用此处"""
print(f"启用插件,dir_path: {dir_path} ; folder_name: {folder_name}")
def event_disable():
"""当此插件被禁用时会调用此处"""
print(f"禁用插件,dir_path: {dir_path} ; folder_name: {folder_name}")
def event_init(app: Flask):
"""初始化完成时会调用这里"""
app.register_blueprint(helloworld_blueprint)