Skip to content

Commit 607ed27

Browse files
Fix document error about 'make trans-copy' (#29710)
Change document to 'make docs' --------- Co-authored-by: techknowlogick <[email protected]>
1 parent 70e0770 commit 607ed27

File tree

4 files changed

+2
-49
lines changed

4 files changed

+2
-49
lines changed

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -839,10 +839,6 @@ release-sources: | $(DIST_DIRS)
839839
release-docs: | $(DIST_DIRS) docs
840840
tar -czf $(DIST)/release/gitea-docs-$(VERSION).tar.gz -C ./docs .
841841

842-
.PHONY: docs
843-
docs:
844-
cd docs; bash scripts/trans-copy.sh;
845-
846842
.PHONY: deps
847843
deps: deps-frontend deps-backend deps-tools deps-py
848844

docs/content/development/hacking-on-gitea.en-us.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,9 @@ Documentation for the website is found in `docs/`. If you change this you
333333
can test your changes to ensure that they pass continuous integration using:
334334

335335
```bash
336-
# from the docs directory within Gitea
337-
make trans-copy clean build
336+
make lint-md
338337
```
339338

340-
You will require a copy of [Hugo](https://gohugo.io/) to run this task. Please
341-
note: this may generate a number of untracked Git objects, which will need to
342-
be cleaned up.
343-
344339
## Visual Studio Code
345340

346341
A `launch.json` and `tasks.json` are provided within `contrib/ide/vscode` for

docs/content/development/hacking-on-gitea.zh-cn.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,9 @@ TAGS="bindata sqlite sqlite_unlock_notify" make build test-sqlite
307307
该网站的文档位于 `docs/` 中。如果你改变了文档内容,你可以使用以下测试方法进行持续集成:
308308

309309
```bash
310-
# 来自 Gitea 中的 docs 目录
311-
make trans-copy clean build
310+
make lint-md
312311
```
313312

314-
运行此任务依赖于 [Hugo](https://gohugo.io/)。请注意:这可能会生成一些未跟踪的 Git 对象,
315-
需要被清理干净。
316-
317313
## Visual Studio Code
318314

319315
`contrib/ide/vscode` 中为 Visual Studio Code 提供了 `launch.json``tasks.json`。查看

docs/scripts/trans-copy.sh

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)