From f47fdce6c811111379b6bc1d39107e37804df394 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 3 Aug 2026 15:39:27 +0000 Subject: [PATCH] chore: update path (#486) Fix #34 Reviewed-on: https://gitea.com/gitea/docs/pulls/486 Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com> Co-authored-by: Lunny Xiao --- docs/administration/customizing-gitea.md | 2 +- .../current/administration/customizing-gitea.md | 2 +- .../version-1.26/administration/customizing-gitea.md | 2 +- .../version-1.27/administration/customizing-gitea.md | 2 +- .../version-1.23/administration/customizing-gitea.md | 4 ++-- .../version-1.22/administration/customizing-gitea.md | 4 ++-- .../version-1.23/administration/customizing-gitea.md | 4 ++-- .../version-1.24/administration/customizing-gitea.md | 2 +- .../version-1.25/administration/customizing-gitea.md | 2 +- .../version-1.26/administration/customizing-gitea.md | 2 +- .../version-1.27/administration/customizing-gitea.md | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/administration/customizing-gitea.md b/docs/administration/customizing-gitea.md index 100a570a..8b3e7541 100644 --- a/docs/administration/customizing-gitea.md +++ b/docs/administration/customizing-gitea.md @@ -136,7 +136,7 @@ The data is encoded and sent to the PlantUML server which generates the picture. demo server at http://www.plantuml.com/plantuml, but if you (or your users) have sensitive data you can set up your own [PlantUML server](https://plantuml.com/server) instead. To set up PlantUML rendering, copy JavaScript files from https://gitea.com/davidsvantesson/plantuml-code-highlight and put them in your -`$GITEA_CUSTOM/public/assets/` folder. Then add the following to `custom/footer.tmpl`: +`$GITEA_CUSTOM/public/assets/` folder. Then add the following to `$GITEA_CUSTOM/templates/custom/footer.tmpl`: ```html ``` -到文件 `templates/custom/footer.tmpl` +到文件 `$GITEA_CUSTOM/templates/custom/footer.tmpl` 您還需要下載庫 [Madeleine.js](https://github.com/beige90/Madeleine.js) 的內容並將其放置在 `$GITEA_CUSTOM/public/assets/` 文件夾下。 diff --git a/versioned_docs/version-1.22/administration/customizing-gitea.md b/versioned_docs/version-1.22/administration/customizing-gitea.md index 175c08a4..f7260d55 100644 --- a/versioned_docs/version-1.22/administration/customizing-gitea.md +++ b/versioned_docs/version-1.22/administration/customizing-gitea.md @@ -139,7 +139,7 @@ The data is encoded and sent to the PlantUML server which generates the picture. demo server at http://www.plantuml.com/plantuml, but if you (or your users) have sensitive data you can set up your own [PlantUML server](https://plantuml.com/server) instead. To set up PlantUML rendering, copy JavaScript files from https://gitea.com/davidsvantesson/plantuml-code-highlight and put them in your -`$GITEA_CUSTOM/public/assets/` folder. Then add the following to `custom/footer.tmpl`: +`$GITEA_CUSTOM/public/assets/` folder. Then add the following to `$GITEA_CUSTOM/templates/custom/footer.tmpl`: ```html ``` -to the file `templates/custom/footer.tmpl` +to the file `$GITEA_CUSTOM/templates/custom/footer.tmpl` You also need to download the content of the library [Madeleine.js](https://github.com/beige90/Madeleine.js) and place it under `$GITEA_CUSTOM/public/assets/` folder. diff --git a/versioned_docs/version-1.23/administration/customizing-gitea.md b/versioned_docs/version-1.23/administration/customizing-gitea.md index d7439b0f..2a89dd47 100644 --- a/versioned_docs/version-1.23/administration/customizing-gitea.md +++ b/versioned_docs/version-1.23/administration/customizing-gitea.md @@ -136,7 +136,7 @@ The data is encoded and sent to the PlantUML server which generates the picture. demo server at http://www.plantuml.com/plantuml, but if you (or your users) have sensitive data you can set up your own [PlantUML server](https://plantuml.com/server) instead. To set up PlantUML rendering, copy JavaScript files from https://gitea.com/davidsvantesson/plantuml-code-highlight and put them in your -`$GITEA_CUSTOM/public/assets/` folder. Then add the following to `custom/footer.tmpl`: +`$GITEA_CUSTOM/public/assets/` folder. Then add the following to `$GITEA_CUSTOM/templates/custom/footer.tmpl`: ```html ``` -to the file `templates/custom/footer.tmpl` +to the file `$GITEA_CUSTOM/templates/custom/footer.tmpl` You also need to download the content of the library [Madeleine.js](https://github.com/beige90/Madeleine.js) and place it under `$GITEA_CUSTOM/public/assets/` folder. diff --git a/versioned_docs/version-1.24/administration/customizing-gitea.md b/versioned_docs/version-1.24/administration/customizing-gitea.md index b4a3dbd4..286ad558 100644 --- a/versioned_docs/version-1.24/administration/customizing-gitea.md +++ b/versioned_docs/version-1.24/administration/customizing-gitea.md @@ -136,7 +136,7 @@ The data is encoded and sent to the PlantUML server which generates the picture. demo server at http://www.plantuml.com/plantuml, but if you (or your users) have sensitive data you can set up your own [PlantUML server](https://plantuml.com/server) instead. To set up PlantUML rendering, copy JavaScript files from https://gitea.com/davidsvantesson/plantuml-code-highlight and put them in your -`$GITEA_CUSTOM/public/assets/` folder. Then add the following to `custom/footer.tmpl`: +`$GITEA_CUSTOM/public/assets/` folder. Then add the following to `$GITEA_CUSTOM/templates/custom/footer.tmpl`: ```html