From 7c2b123c4e59eecbcbfc010e15f44e958a14c8a0 Mon Sep 17 00:00:00 2001 From: UUBulb <35923940+uubulb@users.noreply.github.com> Date: Thu, 10 Oct 2024 00:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=BB=E9=A2=98=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E8=AF=B4=E6=98=8E=20(#100)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/developer/theme.md | 4 ++-- docs/en_US/developer/theme.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/developer/theme.md b/docs/developer/theme.md index edb5ad04..b68662db 100644 --- a/docs/developer/theme.md +++ b/docs/developer/theme.md @@ -3,7 +3,7 @@ 哪吒面板提供了主题开发环境,你可以使用它来创建新的哪吒监控主题 ::: warning -请注意: 此开发环境仅支持 `dashboard v0.13.16` 及更新版本。 +请注意: 此开发环境仅支持 `dashboard v0.19.11` 及更新版本。 ::: ## 使用说明 @@ -11,7 +11,7 @@ 2. 修改 `data/config.yaml` 中的 Oauth2 配置(回调连接可以填 `http://localhost`) 3. 运行 `docker-compose up` 4. 开始开发 -5. 主题制作完成之后可以将 `theme-custom` 放置到服务器上的 `/opt/nezha/dashboard/theme-custom` 位置 +5. 主题制作完成之后可以将 `theme-custom`(前台主题)、`static-custom`(前台主题静态文件) 和 `dashboard-custom`(后台主题) 放置到服务器上的 `/opt/nezha/dashboard/` 中(如使用 Docker 安装) ## FAQ diff --git a/docs/en_US/developer/theme.md b/docs/en_US/developer/theme.md index 41db9519..3b5996ad 100644 --- a/docs/en_US/developer/theme.md +++ b/docs/en_US/developer/theme.md @@ -11,7 +11,7 @@ Please note: This development environment only supports `dashboard v0.13.16` and 2. Modify the Oauth2 configuration in `data/config.yaml`(The callback connection can be filled with `http://localhost`) 3. Run `docker-compose up` 4. Start development -5. Once the theme has been created, you can place `theme-custom` in `/opt/nezha/dashboard/theme-custom` on the server +5. After completing the theme creation, you can place `theme-custom` (frontend theme), `static-custom` (frontend theme static files), and `dashboard-custom` (backend theme) into the `/opt/nezha/dashboard/` directory on the server (if installed using Docker). ## FAQ