docs: fix Resources module API docs naming conventions and broken links

- Rename constructor/destructor files to follow template spec:
  - ctor.md → constructor.md, dtor.md → destructor.md (audioclip)
  - texture_constructor.md → constructor.md, texture_destructor.md → destructor.md (texture)
  - material-loader-constructor.md → constructor.md, material-loader-destructor.md → destructor.md

- Create missing constructor/destructor docs:
  - audio-loader: constructor.md, destructor.md
  - texture-loader: constructor.md, destructor.md

- Fix broken links to ResourceManager:
  - shader-loader/index.md
  - material-loader/index.md

- Remove duplicate folders (keep hyphenated versions):
  - Delete shaderloader/ (keep shader-loader/)
  - Delete resourcepackage/ (keep resource-package/)
  - Merge textureimportsettings/ into texture-import-settings/

- Rename audio-loader method files:
  - canload.md → can-load.md
  - getdefaultsettings.md → get-default-settings.md
  - getsupportedextensions.md → get-supported-extensions.md

- Update overview pages with proper method links and constructor/destructor entries
This commit is contained in:
2026-03-22 14:42:27 +08:00
parent 1797e7fe17
commit 6af872e9eb
11 changed files with 224 additions and 99 deletions

View File

@@ -85,8 +85,8 @@
| 方法 | 描述 |
|------|------|
| [`Texture`](texture_constructor.md) | 默认构造函数 |
| [`~Texture`](texture_destructor.md) | 析构函数 |
| [`Texture`](constructor.md) | 默认构造函数 |
| [`~Texture`](destructor.md) | 析构函数 |
### IResource 实现