Skip to content

Commit e5dc77e

Browse files
committed
Configure documentation links to allow localization
github.com and wikipedia.org have different localization behaviors depending on the URL. If a language code is specified via the URL, then that language version of the page is loaded, regardless of the language setting of the user's browser or GitHub. For example, this URL will take the user to the English version of the page even if their browser is configured for Chinese: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-on-github If no language code is specified via the URL, then it redirects to the version of the page localized for the user's language preference, where available. For example, if the user has selected "Chinese" as their preferred language in their browser settings, then this URL: https://docs.github.com/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-on-github redirects to: https://docs.github.com/cn/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-on-github
1 parent c8c4cee commit e5dc77e

File tree

73 files changed

+117
-117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+117
-117
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ contact_links:
55
url: https://github.com/arduino/tooling-project-assets#readme
66
about: Detailed usage documentation is available here.
77
- name: Learn about GitHub Actions
8-
url: https://docs.github.com/en/actions
8+
url: https://docs.github.com/actions
99
about: Everything you need to know to get started with GitHub Actions.
1010
- name: Learn about GitHub issue templates
11-
url: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests
11+
url: https://docs.github.com/communities/using-templates-to-encourage-useful-issues-and-pull-requests
1212
about: Information about GitHub's issue template feature.
1313
- name: Support request
1414
url: https://forum.arduino.cc/

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# See: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#about-the-dependabotyml-file
1+
# See: https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates#about-the-dependabotyml-file
22
version: 2
33

44
updates:
55
# Configure check for outdated GitHub Actions actions in workflows.
66
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/dependabot/README.md
7-
# See: https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
7+
# See: https://docs.github.com/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
88
- package-ecosystem: github-actions
99
directory: / # Check the repository's workflows under /.github/workflows/
1010
schedule:

.github/workflows/check-ci-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
name: Check CI Workflows Sync
88

9-
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
9+
# See: https://docs.github.com/actions/reference/events-that-trigger-workflows
1010
on:
1111
push:
1212
paths:

.github/workflows/check-community-health-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
name: Check Community Health Files Sync
88

9-
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
9+
# See: https://docs.github.com/actions/reference/events-that-trigger-workflows
1010
on:
1111
push:
1212
paths:

.github/workflows/check-config-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
name: Check Configuration Files Sync
88

9-
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
9+
# See: https://docs.github.com/actions/reference/events-that-trigger-workflows
1010
on:
1111
push:
1212
pull_request:

.github/workflows/check-configs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Check Configuration Files
22

3-
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
3+
# See: https://docs.github.com/actions/reference/events-that-trigger-workflows
44
on:
55
push:
66
paths:

.github/workflows/check-general-formatting-task.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-general-formatting-task.md
22
name: Check General Formatting
33

4-
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
4+
# See: https://docs.github.com/actions/reference/events-that-trigger-workflows
55
on:
66
push:
77
pull_request:
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Set environment variables
2020
run: |
21-
# See: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
21+
# See: https://docs.github.com/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
2222
echo "EC_INSTALL_PATH=${{ runner.temp }}/editorconfig-checker" >> "$GITHUB_ENV"
2323
2424
- name: Checkout repository
@@ -46,7 +46,7 @@ jobs:
4646
# Give the binary a standard name
4747
mv "${{ env.EC_INSTALL_PATH }}/bin/ec-linux-amd64" "${{ env.EC_INSTALL_PATH }}/bin/ec"
4848
# Add installation to PATH:
49-
# See: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path
49+
# See: https://docs.github.com/actions/reference/workflow-commands-for-github-actions#adding-a-system-path
5050
echo "${{ env.EC_INSTALL_PATH }}/bin" >> "$GITHUB_PATH"
5151
5252
- name: Check formatting

.github/workflows/check-license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
# SPDX identifier: https://spdx.org/licenses/
88
EXPECTED_LICENSE_TYPE: CC0-1.0
99

10-
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
10+
# See: https://docs.github.com/actions/reference/events-that-trigger-workflows
1111
on:
1212
push:
1313
paths:

.github/workflows/check-markdown-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-markdown-task.md
22
name: Check Markdown
33

4-
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
4+
# See: https://docs.github.com/actions/reference/events-that-trigger-workflows
55
on:
66
push:
77
paths:

.github/workflows/check-prettier-formatting-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-prettier-formatting-task.md
22
name: Check Prettier Formatting
33

4-
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4+
# See: https://docs.github.com/free-pro-team@latest/actions/reference/events-that-trigger-workflows
55
on:
66
push:
77
paths:

0 commit comments

Comments
 (0)