Refactor documentation structure and add new artifact model guide

This commit is contained in:
crazywhalecc
2026-04-29 14:28:17 +08:00
parent 3c4f39735e
commit 269cd600f8
23 changed files with 530 additions and 79 deletions

View File

@@ -0,0 +1,8 @@
# 自定义 Artifact
<!-- TODO: 介绍如何在 src/Package/Artifact/ 下实现自定义下载类。
说明 type: custom 的适用场景(如需鉴权、非标准压缩包格式等)。
涵盖:类的位置与命名规范、方法签名(默认下载方法与 func 分发)、
读取配置字段、返回解压后的源码路径、
通过 spc.registry.yml 的 artifact psr-4 映射注册类。
提供带注释的完整代码示例。 -->