diff options
| author | 2023-12-13 13:10:06 +0800 | |
|---|---|---|
| committer | 2023-12-13 13:10:06 +0800 | |
| commit | 135a9eb3829e0705a81ebdfcb5fdbeb6924c3392 (patch) | |
| tree | 33456063c442a7ca88517002dad76c65d96d44c6 /docs | |
| parent | d0968e4baec83b0ea6dbd1f03334238a9f03d4f7 (diff) | |
| download | infini-135a9eb3829e0705a81ebdfcb5fdbeb6924c3392.tar.gz infini-135a9eb3829e0705a81ebdfcb5fdbeb6924c3392.zip | |
refactor: rename `HydroRollCore` -> `infini`
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/CLI/index.md | 6 | ||||
| -rw-r--r-- | docs/Core/index.md | 20 | ||||
| -rw-r--r-- | docs/RulePackage/intro.md | 2 | ||||
| -rw-r--r-- | docs/Standard/Term/check/ability.md | 2 |
4 files changed, 15 insertions, 15 deletions
diff --git a/docs/CLI/index.md b/docs/CLI/index.md index 3eb9bf48..cef69104 100644 --- a/docs/CLI/index.md +++ b/docs/CLI/index.md @@ -5,7 +5,7 @@ title: CLI Reference ```python exec="1" idprefix="" import argparse import re -from HydroRollCore import Cli +from infini import Cli parser = Cli().parser @@ -26,7 +26,7 @@ def render_parser( ) -> str: """Render the parser help documents as a string.""" result = [f"{'#' * heading_level} {title}\n"] - if parser.description and title != "HydroRollCore": + if parser.description and title != "infini": result.append("> " + parser.description + "\n") for group in sorted( @@ -62,5 +62,5 @@ def render_parser( return "\n".join(result) -print(render_parser(parser, "HydroRollCore")) +print(render_parser(parser, "infini")) ```
\ No newline at end of file diff --git a/docs/Core/index.md b/docs/Core/index.md index 6142664c..dd40757a 100644 --- a/docs/Core/index.md +++ b/docs/Core/index.md @@ -3,17 +3,17 @@ hide: - navigation --- -<h1 align="right">HydroRollCore'水系核心</h1> +<h1 align="right">infini'水系核心</h1> <p align="right"> <a aria-label="Join the community on GitHub" href="https://github.com/HydroRoll-Team/hydroroll/discussions" target="blank"> <img alt="" src="https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?log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AAAA/wAAAP8AAAD/AAAA/zQ0NP9CQkL/ZmZm/yIiIv9WVlb/WFhY/yIiIv9mZmb/QkJC/zY2Nv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9QUFD/BgYG/0RERP9KSkr/JCQk/yYmJv9KSkr/RERE/wgICP9QUFD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/CgoK/wICAv8KCgr/CgoK/wYGBv8GBgb/CgoK/woKCv8CAgL/CgoK/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==&labelColor=000000&logoWidth=20&logoColor=white"> </a> - <a href="https://pypi.org/project/HydroRollCore"> - <img src="https://img.shields.io/pypi/v/hydrorollcore?labelColor=000000"> + <a href="https://pypi.org/project/infini"> + <img src="https://img.shields.io/pypi/v/infini?labelColor=000000"> </a> - <a href="https://github.com/HydroRoll-Team/HydroRollCore/blob/master/LICENSE"> - <img alt="" src="https://img.shields.io/pypi/l/hydrorollcore.svg?labelColor=000000&color="> + <a href="https://github.com/HydroRoll-Team/infini/blob/master/LICENSE"> + <img alt="" src="https://img.shields.io/pypi/l/infini.svg?labelColor=000000&color="> </a> </p> @@ -24,11 +24,11 @@ hide: 在命令行输入。 ``` shell -git clone https://github.com/HydroRoll-Team/HydroRollCore.git -cd HydroRollCore +git clone https://github.com/HydroRoll-Team/infini.git +cd infini pdm install # 或者使用pip -# pip install HydroRollCore +# pip install infini ``` 2. 创建规则包实例 @@ -42,7 +42,7 @@ echo.> __init__.py 在 `__init__.py` 创建一个 `rule` 实例并继承 `Rule` 基类, 通过编写合适的相关方法与类注册规则包实现规则的自定义。 ``` python -from HydroRollCore import Rule +from infini import Rule class Myrule(Rule): """自设规则包,继承 Rule 基类""" @@ -52,4 +52,4 @@ class Myrule(Rule): ## 📄 License -[MIT](https://github.com/HydroRoll-Team/HydroRollCore/blob/master/LICENSE) © 2023-PRESENT [简律纯](https://github.com/HsiangNianian) +[MIT](https://github.com/HydroRoll-Team/infini/blob/master/LICENSE) © 2023-PRESENT [简律纯](https://github.com/HsiangNianian) diff --git a/docs/RulePackage/intro.md b/docs/RulePackage/intro.md index 8bdd41bb..8c948cb9 100644 --- a/docs/RulePackage/intro.md +++ b/docs/RulePackage/intro.md @@ -16,7 +16,7 @@ title: 概述 pdm install MyRule ``` - 如果你使用`pdm`管理自己的规则包或开启自己的水系骰子,那么非常推荐使用这种方案来集成形如 `HydroRollCore-Rule-The_Pool`这般包名的规则。 + 如果你使用`pdm`管理自己的规则包或开启自己的水系骰子,那么非常推荐使用这种方案来集成形如 `infini-Rule-The_Pool`这般包名的规则。 === "使用`hrc`管理器" diff --git a/docs/Standard/Term/check/ability.md b/docs/Standard/Term/check/ability.md index 64233562..13e3d83a 100644 --- a/docs/Standard/Term/check/ability.md +++ b/docs/Standard/Term/check/ability.md @@ -5,6 +5,6 @@ status: deprecated !!! info 关于这部分内容请[移步正式术语][redirect]: [`check 检定`](/Standard/Term/check/) - [redirect]: https://HydroRollCore.retrofor.space "我为什么会看到此项内容?" + [redirect]: https://infini.retrofor.space "我为什么会看到此项内容?" 这部分其实已经移除。 |
