docs: 完善项目文档和README,修复字符显示问题
- 修复README.md中的emoji字符显示问题 - 移除文档质量评级系统 - 添加贡献者致谢部分,创建详细的CONTRIBUTORS.md - 创建核心系统文件EventNames.gd和ProjectPaths.gd - 更新项目配置文件project.godot,添加输入映射 - 完善各模块文档,修正路径引用问题 - 创建文档更新日志CHANGELOG.md - 优化文档结构和导航系统
This commit is contained in:
@@ -129,7 +129,7 @@ func get_module_info() -> Dictionary:
|
||||
# 私有方法
|
||||
func _load_config() -> bool:
|
||||
"""加载模块配置"""
|
||||
var config_path = "res://module/%s/data/module_config.json" % MODULE_NAME
|
||||
var config_path = ProjectPaths.get_module_config_path(MODULE_NAME)
|
||||
if not FileAccess.file_exists(config_path):
|
||||
print("警告: 模块配置文件不存在: ", config_path)
|
||||
return true # 使用默认配置
|
||||
@@ -270,7 +270,7 @@ func update_data(data_type: String, new_data: Dictionary):
|
||||
|
||||
```gdscript
|
||||
# tests/test_your_module.gd
|
||||
extends "res://addons/gut/test.gd"
|
||||
extends GutTest
|
||||
|
||||
var module: YourModule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user