aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/development/hacking-on-gitea.zh-cn.md
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-17 23:12:36 +0100
committerGitHub <noreply@github.com>2024-03-17 23:12:36 +0100
commit095fdd691dd1a7d7748372cc73e7708278c80933 (patch)
treeac511a4ecd9eb2a29ddddf9ab1d6e44c8f110ccd /docs/content/development/hacking-on-gitea.zh-cn.md
parent5ca65d33906ebbca1e502536ffef18942b541c1d (diff)
downloadgitea-095fdd691dd1a7d7748372cc73e7708278c80933.tar.gz
gitea-095fdd691dd1a7d7748372cc73e7708278c80933.zip
move some scripts from 'build' to 'tools' directory, misc refactors (#29844)
- Move some scripts from `build` to new `tools` dir. Eventually i would like to move all but let's do it step-by-step. - Add dir to eslint and move the files into vars. - Update docs accordingly. - While updating docs I noticed we were incorrectly having `public/img` path still in a few places. Replace those with the current `public/assets/img`. --------- Co-authored-by: Nanguan Lin <nanguanlin6@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'docs/content/development/hacking-on-gitea.zh-cn.md')
-rw-r--r--docs/content/development/hacking-on-gitea.zh-cn.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/development/hacking-on-gitea.zh-cn.md b/docs/content/development/hacking-on-gitea.zh-cn.md
index a31e1dc511..7dfea30538 100644
--- a/docs/content/development/hacking-on-gitea.zh-cn.md
+++ b/docs/content/development/hacking-on-gitea.zh-cn.md
@@ -201,7 +201,7 @@ REPO_INDEXER_CONN_STR = http://elastic:changeme@localhost:9200
### 构建和添加 SVGs
-SVG 图标是使用 `make svg` 目标构建的,该目标将 `build/generate-svg.js` 中定义的图标源编译到输出目录 `public/img/svg` 中。可以在 `web_src/svg` 目录中添加自定义图标。
+SVG 图标是使用 `make svg` 命令构建的,该命令将图标资源编译到输出目录 `public/assets/img/svg` 中。可以在 `web_src/svg` 目录中添加自定义图标。
### 构建 Logo