From 2190b67507fb5dbd0c08d07ec2f971e534d39c3a Mon Sep 17 00:00:00 2001 From: floss4good Date: Mon, 26 Aug 2024 13:22:39 +0300 Subject: [PATCH 1/3] docs: replace Developer Guide link with the new Contributor Guide one. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 77c6463fbf..18b613d3bd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,4 +4,4 @@ The Forgejo project is run by a community of people who are expected to follow t Sensitive security-related issues should be reported to [security@forgejo.org](mailto:security@forgejo.org) using [encryption](https://keyoxide.org/security@forgejo.org). -You can find links to the different aspects of Developer documentation on this page: [Forgejo developer guide](https://forgejo.org/docs/next/developer/). +You can find links to the different aspects of Developer documentation on this page: [Forgejo Contributor Guide](https://forgejo.org/docs/next/contributor/). From 018aefe29f8abba1e6a2c9d8f64ef7dda145457d Mon Sep 17 00:00:00 2001 From: floss4good Date: Mon, 26 Aug 2024 14:29:10 +0300 Subject: [PATCH 2/3] Replace Developer Guide links with the new Contributor Guide one for PR template and release workflows comments. --- .forgejo/pull_request_template.md | 2 +- .forgejo/workflows/build-release.yml | 2 +- .forgejo/workflows/publish-release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/pull_request_template.md b/.forgejo/pull_request_template.md index eca6f12ae6..d30af48446 100644 --- a/.forgejo/pull_request_template.md +++ b/.forgejo/pull_request_template.md @@ -10,7 +10,7 @@ labels: ## Checklist -The [developer guide](https://forgejo.org/docs/next/developer/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org). +The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org). ### Tests diff --git a/.forgejo/workflows/build-release.yml b/.forgejo/workflows/build-release.yml index 097a7e7480..ce05f6d8ff 100644 --- a/.forgejo/workflows/build-release.yml +++ b/.forgejo/workflows/build-release.yml @@ -1,5 +1,5 @@ # -# See also https://forgejo.org/docs/next/developer/RELEASE/#release-process +# See also https://forgejo.org/docs/next/contributor/release/#stable-release-process # # https://codeberg.org/forgejo-integration/forgejo # diff --git a/.forgejo/workflows/publish-release.yml b/.forgejo/workflows/publish-release.yml index e22b4e8c25..41c884c2d1 100644 --- a/.forgejo/workflows/publish-release.yml +++ b/.forgejo/workflows/publish-release.yml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT # -# See also https://forgejo.org/docs/next/developer/RELEASE/#release-process +# See also https://forgejo.org/docs/next/contributor/release/#stable-release-process # # https://codeberg.org/forgejo-experimental/forgejo # From 5879cdc6fa8b9f366a17a7c08625f2f2e090eca1 Mon Sep 17 00:00:00 2001 From: floss4good Date: Mon, 26 Aug 2024 17:43:35 +0300 Subject: [PATCH 3/3] Update the translator contributing guide from user language settings. --- templates/user/settings/appearance.tmpl | 2 +- tests/integration/user_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/user/settings/appearance.tmpl b/templates/user/settings/appearance.tmpl index 3e60b5cbcd..2aaf24adca 100644 --- a/templates/user/settings/appearance.tmpl +++ b/templates/user/settings/appearance.tmpl @@ -64,7 +64,7 @@
- {{ctx.Locale.Tr "settings.language.localization_project" "https://forgejo.org/docs/latest/developer/localization/"}} + {{ctx.Locale.Tr "settings.language.localization_project" "https://forgejo.org/docs/next/contributor/localization/"}}
diff --git a/tests/integration/user_test.go b/tests/integration/user_test.go index 035d0956f5..73976b9a35 100644 --- a/tests/integration/user_test.go +++ b/tests/integration/user_test.go @@ -389,7 +389,7 @@ func TestUserHints(t *testing.T) { assert.Equal(t, enabled, hintChecked) link, _ := htmlDoc.Find("form[action='/user/settings/appearance/language'] a").Attr("href") - assert.EqualValues(t, "https://forgejo.org/docs/latest/developer/localization/", link) + assert.EqualValues(t, "https://forgejo.org/docs/next/contributor/localization/", link) } t.Run("view", func(t *testing.T) {