From 90d58001172f68d01b0206b03ce8c51b520461ca Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Sat, 16 Mar 2024 13:11:41 +0000 Subject: [PATCH] Fix incorrect command order of prepare-docs (#92) The command order of prepare-docs is incorrect. We should prepare same version with different locale at once, otherwise the doc files for `zh-cn` in `i18n` folder will be incorrect. Before: (files in current is as same as version 1.19) ![image](/attachments/81a25d85-ec8e-45dc-b1a1-31d945ae3bfa) After: ![image](/attachments/31831db4-4f89-45a0-8685-5252665d747b) Co-authored-by: Lunny Xiao Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/92 Reviewed-by: Lunny Xiao Reviewed-by: silverwind Co-authored-by: yp05327 <576951401@qq.com> Co-committed-by: yp05327 <576951401@qq.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0777b173..dd3634a5 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ install: npm install .PHONY: prepare-docs -prepare-docs: install prepare-latest prepare\#21 prepare\#20 prepare\#19 prepare-latest-zh-cn prepare-zh-cn\#21 prepare-zh-cn\#20 prepare-zh-cn\#19 prepare-awesome-latest prepare-awesome\#19 prepare-awesome\#20 prepare-awesome\#21 +prepare-docs: install prepare-latest prepare-latest-zh-cn prepare\#21 prepare-zh-cn\#21 prepare\#20 prepare-zh-cn\#20 prepare\#19 prepare-zh-cn\#19 prepare-awesome-latest prepare-awesome\#19 prepare-awesome\#20 prepare-awesome\#21 .PHONY: build build: