From c4eb3ae7a74c7c6881540d7d04502600197a8b2a Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Thu, 25 Jan 2024 17:46:34 +0800 Subject: :fire: feat(docs): remove old documents --- docs/Core/index.md | 55 ------------------------------------------------------ 1 file changed, 55 deletions(-) delete mode 100644 docs/Core/index.md (limited to 'docs/Core/index.md') diff --git a/docs/Core/index.md b/docs/Core/index.md deleted file mode 100644 index dd40757a..00000000 --- a/docs/Core/index.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -hide: - - navigation ---- - -

infini'水系核心

- -

- - - - - - - - - -

- -## 🎁 Getting - -1. 安装库 - -在命令行输入。 - -``` shell -git clone https://github.com/HydroRoll-Team/infini.git -cd infini -pdm install -# 或者使用pip -# pip install infini -``` - -2. 创建规则包实例 - -``` shell -mkdir myrules && cd myrules && mkdir rule1 -echo.> config.toml -echo.> __init__.py -``` - -在 `__init__.py` 创建一个 `rule` 实例并继承 `Rule` 基类, 通过编写合适的相关方法与类注册规则包实现规则的自定义。 - -``` python -from infini import Rule - -class Myrule(Rule): - """自设规则包,继承 Rule 基类""" -``` - -3. 合理修改你的 `config.toml` 配置文件,完成注册! - -## 📄 License - -[MIT](https://github.com/HydroRoll-Team/infini/blob/master/LICENSE) © 2023-PRESENT [简律纯](https://github.com/HsiangNianian) -- cgit v1.2.3-70-g09d2