From 8356c1a0c01150f4e57fe33c3f512f6424475d1d Mon Sep 17 00:00:00 2001 From: Cai Bingjun <1945458160@qq.com> Date: Sat, 8 Apr 2023 14:43:19 +0800 Subject: [PATCH 1/3] docs: update contents (zh) (#413) * readme(zh_TW): translation synchronization * readme(zh_CN): translation synchronization --- README_zh-CN.md | 4 ++-- README_zh-TW.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README_zh-CN.md b/README_zh-CN.md index fd6653f9..e26e6825 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -15,7 +15,7 @@

-[![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DREADME.md%26commit_hash%3D8673a0ce564fd282d0ca586642fa7f002e8a3c50)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=README.md&commit_hash=8673a0ce564fd282d0ca586642fa7f002e8a3c50) +[![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DREADME.md%26commit_hash%3D718ae9d7d8118fcf5f36561ebbcfa96af980ec32)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=README.md&commit_hash=718ae9d7d8118fcf5f36561ebbcfa96af980ec32) ## Erg可以推荐给以下人员: @@ -73,7 +73,7 @@ assert fib(10) == 55 ``` - 在Erg中,很少有东西被认为是特殊的,没有关键字,因此for和while表达式也只是子程序之一 + 甚至for和while表达式也只是子程序之一,所以这是可能的 ```python loop! block! = while! do! True, block! diff --git a/README_zh-TW.md b/README_zh-TW.md index 3b0aa9f9..1f27ac82 100644 --- a/README_zh-TW.md +++ b/README_zh-TW.md @@ -15,7 +15,7 @@

-[![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DREADME.md%26commit_hash%3D8673a0ce564fd282d0ca586642fa7f002e8a3c50)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=README.md&commit_hash=8673a0ce564fd282d0ca586642fa7f002e8a3c50) +[![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DREADME.md%26commit_hash%3D718ae9d7d8118fcf5f36561ebbcfa96af980ec32)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=README.md&commit_hash=718ae9d7d8118fcf5f36561ebbcfa96af980ec32) ## Erg可以推薦給以下人員: @@ -73,7 +73,7 @@ assert fib(10) == 55 ``` - 在Erg中,很少有東西被認為是特殊的,沒有關鍵字,因此for和while表達式也只是子程序之一 + 甚至for和while表達式也只是子程序之一,所以這是可能的 ```python loop! block! = while! do! True, block! From ad35c65a53ed8f5935e4eb9b021604f734251f9a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Apr 2023 06:43:33 +0000 Subject: [PATCH 2/3] Automatic update `translation_status` --- doc/translation_status/translation_status_zh-CN.md | 2 +- doc/translation_status/translation_status_zh-TW.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/translation_status/translation_status_zh-CN.md b/doc/translation_status/translation_status_zh-CN.md index 184e8524..6d07df96 100644 --- a/doc/translation_status/translation_status_zh-CN.md +++ b/doc/translation_status/translation_status_zh-CN.md @@ -4,7 +4,7 @@ This file is generated automatically. If you want to edit this, edit [`doc/scrip | EN file name | edit icon and badge | | --- | --- | -| [README.md](../../README.md) | [📝](../../README_zh-CN.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DREADME.md%26commit_hash%3D8673a0ce564fd282d0ca586642fa7f002e8a3c50)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=README.md&commit_hash=8673a0ce564fd282d0ca586642fa7f002e8a3c50) | +| [README.md](../../README.md) | [📝](../../README_zh-CN.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DREADME.md%26commit_hash%3D718ae9d7d8118fcf5f36561ebbcfa96af980ec32)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=README.md&commit_hash=718ae9d7d8118fcf5f36561ebbcfa96af980ec32) | | [CODE_OF_CONDUCT.md](../../CODE_OF_CONDUCT.md) | [📝](../CODE_OF_CONDUCT/CODE_OF_CONDUCT_zh-CN.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DCODE_OF_CONDUCT.md%26commit_hash%3Df15b426881ebbadc72163d403c718ba486cb0d48)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=CODE_OF_CONDUCT.md&commit_hash=f15b426881ebbadc72163d403c718ba486cb0d48) | | [CONTRIBUTING.md](../../CONTRIBUTING.md) | [📝](../CONTRIBUTING/CONTRIBUTING_zh-CN.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DCONTRIBUTING.md%26commit_hash%3Dcbaf48c04b46fadc680fa4e05e8ad22cbdaf6c47)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=CONTRIBUTING.md&commit_hash=cbaf48c04b46fadc680fa4e05e8ad22cbdaf6c47) | | [faq_general.md](../EN/faq_general.md) | [📝](../zh_CN/faq_general.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3Ddoc/EN/faq_general.md%26commit_hash%3D1b3d7827bb770459475e4102c6f5c43d8ad79ae4)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=doc/EN/faq_general.md&commit_hash=1b3d7827bb770459475e4102c6f5c43d8ad79ae4) | diff --git a/doc/translation_status/translation_status_zh-TW.md b/doc/translation_status/translation_status_zh-TW.md index 82a4d9f1..b4521b63 100644 --- a/doc/translation_status/translation_status_zh-TW.md +++ b/doc/translation_status/translation_status_zh-TW.md @@ -4,7 +4,7 @@ This file is generated automatically. If you want to edit this, edit [`doc/scrip | EN file name | edit icon and badge | | --- | --- | -| [README.md](../../README.md) | [📝](../../README_zh-TW.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DREADME.md%26commit_hash%3D8673a0ce564fd282d0ca586642fa7f002e8a3c50)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=README.md&commit_hash=8673a0ce564fd282d0ca586642fa7f002e8a3c50) | +| [README.md](../../README.md) | [📝](../../README_zh-TW.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DREADME.md%26commit_hash%3D718ae9d7d8118fcf5f36561ebbcfa96af980ec32)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=README.md&commit_hash=718ae9d7d8118fcf5f36561ebbcfa96af980ec32) | | [CODE_OF_CONDUCT.md](../../CODE_OF_CONDUCT.md) | [📝](../CODE_OF_CONDUCT/CODE_OF_CONDUCT_zh-TW.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DCODE_OF_CONDUCT.md%26commit_hash%3Df15b426881ebbadc72163d403c718ba486cb0d48)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=CODE_OF_CONDUCT.md&commit_hash=f15b426881ebbadc72163d403c718ba486cb0d48) | | [CONTRIBUTING.md](../../CONTRIBUTING.md) | [📝](../CONTRIBUTING/CONTRIBUTING_zh-TW.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3DCONTRIBUTING.md%26commit_hash%3Dcbaf48c04b46fadc680fa4e05e8ad22cbdaf6c47)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=CONTRIBUTING.md&commit_hash=cbaf48c04b46fadc680fa4e05e8ad22cbdaf6c47) | | [faq_general.md](../EN/faq_general.md) | [📝](../zh_TW/faq_general.md) [![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3Ddoc/EN/faq_general.md%26commit_hash%3D1b3d7827bb770459475e4102c6f5c43d8ad79ae4)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=doc/EN/faq_general.md&commit_hash=1b3d7827bb770459475e4102c6f5c43d8ad79ae4) | From a130b75ecbe2db343dfbf6dac8aebd6be842d59c Mon Sep 17 00:00:00 2001 From: Cai Bingjun <1945458160@qq.com> Date: Sat, 8 Apr 2023 15:14:32 +0800 Subject: [PATCH 3/3] ci: run `docs.yml` only on the main repo --- .github/workflows/docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 75867e49..6e67bd9b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,6 +9,7 @@ on: jobs: automatic-update: + if: github.repository_owner == 'erg-lang' runs-on: ubuntu-latest defaults: run: