Skip to content

Commit

Permalink
改进文档
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Aug 30, 2024
1 parent b7314bd commit a347cd0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/module/ip-address-blocker-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ PeerBanHelper 的重要模块之一,默认订阅来自 [PBH-BTN/BTN-Collected-

不建议通过配置文件配置此功能,您可以直接使用 WebUI 的可视化编辑。

## 制作规则

PeerBanHelper 可以加载由以下内容组成的 IP 规则集:

* IP 地址(支持 v4 v6)如:1.2.3.4
* CIDR 如:1.2.3.0/24
*`#` 开头的单行注释(不支持行尾注释)

## 配置文件

```yaml
Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const config: Config = {
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: 'https://your-docusaurus-site.example.com',
url: 'https://pbh-btn.github.io/pbh-docs',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/pbh-docs/',
Expand Down Expand Up @@ -57,7 +57,7 @@ const config: Config = {
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/PBH-BTN/pbh-docs/edit/',
'https://github.com/PBH-BTN/pbh-docs/edit/master',
},
theme: {
customCss: './src/css/custom.css',
Expand Down

0 comments on commit a347cd0

Please sign in to comment.