diff --git a/package.json b/package.json
index 24bf73af..d4d39520 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"scripts": {
"archive": "yarn workspace nonebot docusaurus docs:version",
"build": "yarn workspace nonebot build",
- "build:plugin": "cross-env BASE_URL='/docs/' yarn workspace nonebot build",
+ "build:plugin": "cross-env BASE_URL='/website/' yarn workspace nonebot build",
"start": "yarn workspace nonebot start",
"serve": "yarn workspace nonebot serve",
"clear": "yarn workspace nonebot clear",
diff --git a/packages/nonebot-plugin-docs/nonebot_plugin_docs/__init__.py b/packages/nonebot-plugin-docs/nonebot_plugin_docs/__init__.py
index 243b53db..34578c62 100644
--- a/packages/nonebot-plugin-docs/nonebot_plugin_docs/__init__.py
+++ b/packages/nonebot-plugin-docs/nonebot_plugin_docs/__init__.py
@@ -20,7 +20,8 @@ def init():
if host in ["0.0.0.0", "127.0.0.1"]:
host = "localhost"
logger.opt(colors=True).info(
- f"Nonebot docs will be running at: " f"http://{host}:{port}/docs/"
+ f"Nonebot docs will be running at: "
+ f"http://{host}:{port}/website/"
)
diff --git a/packages/nonebot-plugin-docs/nonebot_plugin_docs/drivers/fastapi.py b/packages/nonebot-plugin-docs/nonebot_plugin_docs/drivers/fastapi.py
index c01cbd09..6afba9cb 100644
--- a/packages/nonebot-plugin-docs/nonebot_plugin_docs/drivers/fastapi.py
+++ b/packages/nonebot-plugin-docs/nonebot_plugin_docs/drivers/fastapi.py
@@ -9,4 +9,4 @@ def register_route(driver: Driver):
static_path = str((Path(__file__).parent / ".." / "dist").resolve())
- app.mount("/docs", StaticFiles(directory=static_path, html=True), name="docs")
+ app.mount("/website", StaticFiles(directory=static_path, html=True), name="docs")