Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lumina37 committed Sep 12, 2024
1 parent 80d3108 commit 51be514
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/tutorial/reviewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

1. 首先,你需要一个PostgreSQL数据库,用来缓存通过检测的内容id以及记录用户权限级别(黑、白名单)
1. 参考[**该教程**](cmd_handler_dev.md),填写`database.toml`字段,以便aiotieba-reviewer使用你的PostgreSQL数据库。在你第一次调用特定方法时会自动创建数据库表,因此你无须手动建表
1. 自定义审查行为:请参照我给出的例子自己编程修改[reviewer_example.py](https://github.com/Starry-OvO/aiotieba-reviewer/blob/develop/examples/reviewer_example.py)
1. 自定义审查行为:请参照我给出的例子自己编程修改[reviewer_example.py](https://github.com/lumina37/aiotieba-reviewer/blob/develop/examples/reviewer_example.py)
1. 运行`your_reviewer.py`

```shell
Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ theme:
- search.highlight
language: zh

repo_name: Starry-OvO/aiotieba-reviewer
repo_url: https://github.com/Starry-OvO/aiotieba-reviewer
repo_name: lumina37/aiotieba-reviewer
repo_url: https://github.com/lumina37/aiotieba-reviewer

nav:
- 介绍: index.md
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[project]
name = "aiotieba-reviewer"
description = "High Flexibility Anti-spam Framework Based on Aiotieba"
authors = [{ name = "Starry-OvO", email = "starry.qvq@gmail.com" }]
urls = { Repository = "https://github.com/Starry-OvO/aiotieba-reviewer/", Documentation = "https://review.aiotieba.cc/" }
authors = [{ name = "lumina37", email = "starry.qvq@gmail.com" }]
urls = { Repository = "https://github.com/lumina37/aiotieba-reviewer/", Documentation = "https://review.aiotieba.cc/" }
readme = "README.md"
keywords = ["baidu", "tieba"]
classifiers = [
Expand Down

0 comments on commit 51be514

Please sign in to comment.