Skip to content

Commit 7596d04

Browse files
EstrellaXDclaude
andauthored
fix(docs): use absolute paths for images (#967)
* fix(docs): use absolute paths for images in public folder Relative paths (../image/) don't work on Vercel since the image/ folder at docs root is not tracked in git. Only public/image/ is tracked. Using absolute paths (/image/) correctly references the public folder assets. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: update README image paths to public folder The images are tracked at docs/public/image/, not docs/image/. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 93eae80 commit 7596d04

17 files changed

Lines changed: 32 additions & 32 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
2-
<img src="docs/image/icons/light-icon.svg#gh-light-mode-only" width=50%/ alt="">
3-
<img src="docs/image/icons/dark-icon.svg#gh-dark-mode-only" width=50%/ alt="">
2+
<img src="docs/public/image/icons/light-icon.svg#gh-light-mode-only" width=50%/ alt="">
3+
<img src="docs/public/image/icons/dark-icon.svg#gh-dark-mode-only" width=50%/ alt="">
44
</p>
55
<p align="center">
66
<img title="docker build version" src="https://img.shields.io/docker/v/estrellaxd/auto_bangumi" alt="">
@@ -16,7 +16,7 @@
1616
# 项目说明
1717

1818
<p align="center">
19-
<img title="AutoBangumi" src="docs/image/feature/bangumi-list.png" alt="" width=75%>
19+
<img title="AutoBangumi" src="docs/public/image/feature/bangumi-list.png" alt="" width=75%>
2020
</p>
2121

2222
本项目是基于 RSS 的全自动追番整理下载工具。只需要在 [Mikan Project][mikan] 等网站上订阅番剧,就可以全自动追番。

docs/config/downloader.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## WebUI 配置
44

5-
![downloader](../image/config/downloader.png){width=500}{class=ab-shadow-card}
5+
![downloader](/image/config/downloader.png){width=500}{class=ab-shadow-card}
66

77
<br/>
88

docs/config/experimental.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ input: "【喵萌奶茶屋】★04月新番★[夏日重现/Summer Time Renderin
1313
output: '{"group": "喵萌奶茶屋", "title_en": "Summer Time Rendering", "resolution": "1080p", "episode": 11, "season": 1, "title_zh": "夏日重现", "sub": "", "title_jp": "", "season_raw": "", "source": ""}'
1414
```
1515

16-
![experimental OpenAI](../image/config/experimental-openai.png){width=500}{class=ab-shadow-card}
16+
![experimental OpenAI](/image/config/experimental-openai.png){width=500}{class=ab-shadow-card}
1717

1818
- **启用 OpenAI** 启用 OpenAI 并使用 ChatGPT 进行标题解析。
1919
- **OpenAI API 类型** 默认为 OpenAI。
@@ -24,7 +24,7 @@ output: '{"group": "喵萌奶茶屋", "title_en": "Summer Time Rendering", "reso
2424
## Microsoft Azure OpenAI
2525

2626

27-
![experimental Microsoft Azure OpenAI](../image/config/experimental-azure-openai.png){width=500}{class=ab-shadow-card}
27+
![experimental Microsoft Azure OpenAI](/image/config/experimental-azure-openai.png){width=500}{class=ab-shadow-card}
2828

2929
除了标准 OpenAI 外,[版本 3.1.8](https://github.com/EstrellaXD/Auto_Bangumi/releases/tag/3.1.8) 添加了 Microsoft Azure OpenAI 支持。使用方式与标准 OpenAI 类似,共享部分参数,但请注意以下几点:
3030

docs/config/manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## WebUI 配置
44

5-
![proxy](../image/config/manager.png){width=500}{class=ab-shadow-card}
5+
![proxy](/image/config/manager.png){width=500}{class=ab-shadow-card}
66

77
<br/>
88

docs/config/notifier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## WebUI 配置
44

5-
![notification](../image/config/notifier.png){width=500}{class=ab-shadow-card}
5+
![notification](/image/config/notifier.png){width=500}{class=ab-shadow-card}
66

77
<br/>
88

docs/config/parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ AB 的解析器用于解析聚合 RSS 链接。当 RSS 订阅中出现新条目
88

99
## WebUI 中的解析器设置
1010

11-
![parser](../image/config/parser.png){width=500}{class=ab-shadow-card}
11+
![parser](/image/config/parser.png){width=500}{class=ab-shadow-card}
1212

1313
<br/>
1414

docs/config/program.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## WebUI 配置
44

5-
![program](../image/config/program.png){width=500}{class=ab-shadow-card}
5+
![program](/image/config/program.png){width=500}{class=ab-shadow-card}
66

77
<br/>
88

docs/config/proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 代理
44

5-
![proxy](../image/config/proxy.png){width=500}{class=ab-shadow-card}
5+
![proxy](/image/config/proxy.png){width=500}{class=ab-shadow-card}
66

77
<br/>
88

docs/config/rss.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AutoBangumi 可以自动解析聚合 RSS 订阅源,并根据字幕组和番剧
1111

1212
本项目基于 Mikan Project 提供的 RSS 链接进行解析。要启用自动追番功能,您需要注册并获取 Mikan Project 的 RSS 链接:
1313

14-
![image](../image/rss/rss-token.png){data-zoomable}
14+
![image](/image/rss/rss-token.png){data-zoomable}
1515

1616
RSS 链接格式如下:
1717

@@ -25,7 +25,7 @@ https://mikanime.tv/RSS/MyBangumi?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2525

2626
由于 AutoBangumi 会解析接收到的所有 RSS 条目,订阅时请注意以下几点:
2727

28-
![image](../image/rss/advanced-subscription.png){data-zoomable}
28+
![image](/image/rss/advanced-subscription.png){data-zoomable}
2929

3030
- 在个人设置中启用高级选项。
3131
- 每部番剧只订阅一个字幕组。点击 Mikan Project 上的番剧海报打开子菜单,选择单个字幕组。

docs/deploy/dsm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ DSM 7.2 支持 Docker Compose,因此我们建议使用 Docker Compose 进行
1010

1111
打开套件中心,安装 Container Manager(Docker)套件。
1212

13-
![install-docker](../image/dsm/install-docker.png){data-zoomable}
13+
![install-docker](/image/dsm/install-docker.png){data-zoomable}
1414

1515
## 通过 Docker Compose 安装 AB
1616

1717
点击**项目**,然后点击**新增**,选择 **Docker Compose**
1818

19-
![new-compose](../image/dsm/new-compose.png){data-zoomable}
19+
![new-compose](/image/dsm/new-compose.png){data-zoomable}
2020

2121
将以下内容复制粘贴到 **Docker Compose** 中:
2222
```yaml
@@ -43,7 +43,7 @@ services:
4343
4444
点击**下一步**,然后点击**完成**。
4545
46-
![create](../image/dsm/create.png){data-zoomable}
46+
![create](/image/dsm/create.png){data-zoomable}
4747
4848
创建完成后,访问 `http://<NAS IP>:7892` 进入 AB 并进行配置。
4949

0 commit comments

Comments
 (0)