diff options
author | Daniel YC Lin <dlin.tw@gmail.com> | 2024-03-15 06:54:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 22:54:11 +0000 |
commit | 607ed27b4fb8ead346f89b379d9788f5c76fb799 (patch) | |
tree | b3a614beef67a299491df709c2285d5b965bc764 /docs/content/development | |
parent | 70e077036f8d3026cecddb746a1de69e02ab9b9a (diff) | |
download | gitea-607ed27b4fb8ead346f89b379d9788f5c76fb799.tar.gz gitea-607ed27b4fb8ead346f89b379d9788f5c76fb799.zip |
Fix document error about 'make trans-copy' (#29710)
Change document to 'make docs'
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Diffstat (limited to 'docs/content/development')
-rw-r--r-- | docs/content/development/hacking-on-gitea.en-us.md | 7 | ||||
-rw-r--r-- | docs/content/development/hacking-on-gitea.zh-cn.md | 6 |
2 files changed, 2 insertions, 11 deletions
diff --git a/docs/content/development/hacking-on-gitea.en-us.md b/docs/content/development/hacking-on-gitea.en-us.md index df8a9047d6..982dbcf6ea 100644 --- a/docs/content/development/hacking-on-gitea.en-us.md +++ b/docs/content/development/hacking-on-gitea.en-us.md @@ -333,14 +333,9 @@ Documentation for the website is found in `docs/`. If you change this you can test your changes to ensure that they pass continuous integration using: ```bash -# from the docs directory within Gitea -make trans-copy clean build +make lint-md ``` -You will require a copy of [Hugo](https://gohugo.io/) to run this task. Please -note: this may generate a number of untracked Git objects, which will need to -be cleaned up. - ## Visual Studio Code A `launch.json` and `tasks.json` are provided within `contrib/ide/vscode` for diff --git a/docs/content/development/hacking-on-gitea.zh-cn.md b/docs/content/development/hacking-on-gitea.zh-cn.md index 2dba3c92b6..a31e1dc511 100644 --- a/docs/content/development/hacking-on-gitea.zh-cn.md +++ b/docs/content/development/hacking-on-gitea.zh-cn.md @@ -307,13 +307,9 @@ TAGS="bindata sqlite sqlite_unlock_notify" make build test-sqlite 该网站的文档位于 `docs/` 中。如果你改变了文档内容,你可以使用以下测试方法进行持续集成: ```bash -# 来自 Gitea 中的 docs 目录 -make trans-copy clean build +make lint-md ``` -运行此任务依赖于 [Hugo](https://gohugo.io/)。请注意:这可能会生成一些未跟踪的 Git 对象, -需要被清理干净。 - ## Visual Studio Code `contrib/ide/vscode` 中为 Visual Studio Code 提供了 `launch.json` 和 `tasks.json`。查看 |