1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Merge branch 'main' into 6458-larger-runners

This commit is contained in:
Hector Alfaro
2022-08-26 10:55:21 -04:00
committed by GitHub
93 changed files with 222 additions and 196 deletions

View File

@@ -227,7 +227,7 @@ defaultPlatform: linux
### `defaultTool`
- Purpose: Override the initial tool selection for a page, where tool refers to the application the reader is using to work with GitHub (such as GitHub.com's web UI, the GitHub CLI, or GitHub Desktop) or the GitHub APIs (such as cURL or the GitHub CLI). For more information about the tool selector, see [Markup reference for GitHub Docs](../contributing/content-markup-reference.md#tool-tags). If this frontmatter is omitted, then the tool-specific content matching the GitHub web UI is shown by default. If a user has indicated a tool preference (by clicking on a tool tab), then the user's preference will be applied instead of the default value.
- Purpose: Override the initial tool selection for a page, where the tool refers to the application the reader is using to work with GitHub (such as GitHub.com's web UI, the GitHub CLI, or GitHub Desktop) or the GitHub APIs (such as cURL or the GitHub CLI). For more information about the tool selector, see [Markup reference for GitHub Docs](../contributing/content-markup-reference.md#tool-tags). If this frontmatter is omitted, then the tool-specific content matching the GitHub web UI is shown by default. If a user has indicated a tool preference (by clicking on a tool tab), then the user's preference will be applied instead of the default value.
- Type: `String`, one of: `webui`, `cli`, `desktop`, `curl`, `codespaces`, `vscode`, `importer_cli`, `graphql`, `powershell`, `bash`, `javascript`.
- Optional.
@@ -263,9 +263,9 @@ includeGuides:
- Optional.
### `topics`
- Purpose: Indicate the topics covered by the article. The topics are used to filter guides on some landing pages. For example, the guides at the bottom of [this page](https://docs.github.com/en/actions/guides) can be filtered by topics and the topics are listed under the guide intro. Topics are also added to all search records that get created for each page. The search records contain a `topics` property that is used to filter search results by topics. For more information, see the [Search](/contributing/search.md) contributing guide. Refer to the content models for more details around adding topics. A full list of existing topics is located in the [allowed topics file](/data/allowed-topics.js). If topics in article frontmatter and the allow-topics list become out of sync, the [topics CI test](/tests/unit/search/topics.js) will fail.
- Purpose: Indicate the topics covered by the article. The topics are used to filter guides on some landing pages. For example, the guides at the bottom of [this page](https://docs.github.com/en/actions/guides) can be filtered by topics, and the topics are listed under the guide intro. Topics are also added to all search records that get created for each page. The search records contain a `topics` property that is used to filter search results by topics. For more information, see the [Search](/contributing/search.md) contributing guide. Refer to the content models for more details about adding topics. A full list of existing topics is located in the [allowed topics file](/data/allowed-topics.js). If topics in article frontmatter and the allow-topics list become out of sync, the [topics CI test](/tests/unit/search/topics.js) will fail.
- Type: Array of `String`s
- Optional: Topics are preferred for each article, but, there may be cases where existing articles don't yet have topics or adding a topic to a new article may not add value.
- Optional: Topics are preferred for each article, but, there may be cases where existing articles don't yet have topics, or adding a topic to a new article may not add value.
### `contributor`
- Purpose: Indicate an article is contributed and maintained by a third-party organization, typically a GitHub Technology Partner.
@@ -294,7 +294,7 @@ contributor:
If you see two single quotes in a row (`''`) in YML frontmatter where you might expect to see one (`'`), this is the YML-preferred way to escape a single quote. From [the YAML spec](https://yaml.org/spec/history/2001-12-10.html):
> In single quoted leaves, a single quote character needs to be escaped. This is done by repeating the character.
> In single-quoted leaves, a single quote character needs to be escaped. This is done by repeating the character.
As an alternative, you can change the single quotes surrounding the frontmatter field to double quotes and leave interior single quotes unescaped.
@@ -314,7 +314,7 @@ Make sure not to add hardcoded "In this article" sections in the Markdown source
A content file can have **two** types of versioning:
* [`versions`](#versions) frontmatter (**required**)
* Determines in which the versions the page is available. See [contributing/permalinks](../contributing/permalinks.md) for more info.
* Determines in which versions the page is available. See [contributing/permalinks](../contributing/permalinks.md) for more info.
* Liquid statements in content (**optional**)
* Conditionally render content depending on the current version being viewed. See [contributing/liquid-helpers](../contributing/liquid-helpers.md) for more info. Note Liquid conditionals can also appear in `data` and `include` files.
@@ -358,7 +358,7 @@ and when viewed on GitHub Enterprise Server docs, the version is included as wel
### Preventing transformations
Sometimes you want to link to a Dotcom-only article in Enterprise content and you don't want the link to be Enterprise-ified. To prevent the transformation, include the preferred version in the path.
Sometimes you want to link to a Dotcom-only article in Enterprise content and you don't want the link to be Enterprise-ified. To prevent the transformation, you should include the preferred version in the path.
```markdown
"[GitHub's Terms of Service](/free-pro-team@latest/github/site-policy/github-terms-of-service)"
@@ -388,8 +388,8 @@ The homepage is the main Table of Contents file for the docs site. The homepage
To create a product guides page (e.g. [Actions' Guide page](https://docs.github.com/en/actions/guides)), create or modify an existing markdown file with these specific frontmatter values:
1. Use the product guides page template by referencing it `layout: product-guides`
2. (optional) Include the learning tracks in [`learningTracks`](#learningTracks)
1. Use the product guides page template by referencing `layout: product-guides`.
2. (optional) Include the learning tracks in [`learningTracks`](#learningTracks).
3. (optional) Define which articles to include with [`includeGuides`](#includeGuides).
If using learning tracks, they need to be defined in [`data/learning-tracks/*.yml`](../data/learning-tracks/README.md).

View File

@@ -43,8 +43,8 @@ By default, the code scanning alerts page is filtered to show alerts for the def
![Summary of alerts](/assets/images/help/repository/code-scanning-click-alert.png)
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
{% data reusables.code-scanning.alert-default-branch %}
![The "Affected branches" section in an alert](/assets/images/help/repository/code-scanning-affected-branches.png){% endif %}
{% data reusables.code-scanning.alert-default-branch %}
![The "Affected branches" section in an alert](/assets/images/help/repository/code-scanning-affected-branches.png){% endif %}
1. Optionally, if the alert highlights a problem with data flow, click **Show paths** to display the path from the data source to the sink where it's used.
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
![The "Show paths" link on an alert](/assets/images/help/repository/code-scanning-show-paths.png)

View File

@@ -151,25 +151,29 @@ The names of the {% data variables.product.prodname_code_scanning %} analysis ch
![{% data variables.product.prodname_code_scanning %} pull request checks](/assets/images/help/repository/code-scanning-pr-checks.png)
When the {% data variables.product.prodname_code_scanning %} jobs complete, {% data variables.product.prodname_dotcom %} works out whether any alerts were added by the pull request and adds the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" entry to the list of checks. After {% data variables.product.prodname_code_scanning %} has been performed at least once, you can click **Details** to view the results of the analysis. If you used a pull request to add {% data variables.product.prodname_code_scanning %} to the repository, you will initially see {% ifversion fpt or ghes > 3.2 or ghae or ghec %}an "Analysis not found"{% else %}a "Missing analysis"{% endif %} message when you click **Details** on the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" check.
When the {% data variables.product.prodname_code_scanning %} jobs complete, {% data variables.product.prodname_dotcom %} works out whether any alerts were added by the pull request and adds the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" entry to the list of checks. After {% data variables.product.prodname_code_scanning %} has been performed at least once, you can click **Details** to view the results of the analysis.
{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
![Analysis not found for commit message](/assets/images/help/repository/code-scanning-analysis-not-found.png)
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-7095 %}
<!--Troubleshooting section no longer relevant-->
{% elsif ghes < 3.5 or ghae %}
If you used a pull request to add {% data variables.product.prodname_code_scanning %} to the repository, you will initially see {% ifversion ghes > 3.2 or ghae %}an "Analysis not found"{% elsif ghes = 3.2 %}a "Missing analysis"{% endif %} message when you click **Details** on the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" check.
{% ifversion ghes > 3.2 or ghae %}
![Analysis not found for commit message](/assets/images/enterprise/3.4/repository/code-scanning-analysis-not-found.png)
The table lists one or more categories. Each category relates to specific analyses, for the same tool and commit, performed on a different language or a different part of the code. For each category, the table shows the two analyses that {% data variables.product.prodname_code_scanning %} attempted to compare to determine which alerts were introduced or fixed in the pull request.
For example, in the screenshot above, {% data variables.product.prodname_code_scanning %} found an analysis for the merge commit of the pull request, but no analysis for the head of the main branch.
{% else %}
![Missing analysis for commit message](/assets/images/enterprise/3.2/repository/code-scanning-missing-analysis.png)
{% endif %}
{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
### Reasons for the "Analysis not found" message
{% else %}
{% elsif ghes = 3.2 %}
![Missing analysis for commit message](/assets/images/enterprise/3.2/repository/code-scanning-missing-analysis.png)
### Reasons for the "Missing analysis" message
{% endif %}
After {% data variables.product.prodname_code_scanning %} has analyzed the code in a pull request, it needs to compare the analysis of the topic branch (the branch you used to create the pull request) with the analysis of the base branch (the branch into which you want to merge the pull request). This allows {% data variables.product.prodname_code_scanning %} to compute which alerts are newly introduced by the pull request, which alerts were already present in the base branch, and whether any existing alerts are fixed by the changes in the pull request. Initially, if you use a pull request to add {% data variables.product.prodname_code_scanning %} to a repository, the base branch has not yet been analyzed, so it's not possible to compute these details. In this case, when you click through from the results check on the pull request you will see the {% ifversion fpt or ghes > 3.2 or ghae or ghec %}"Analysis not found"{% else %}"Missing analysis for base commit SHA-HASH"{% endif %} message.
After {% data variables.product.prodname_code_scanning %} has analyzed the code in a pull request, it needs to compare the analysis of the topic branch (the branch you used to create the pull request) with the analysis of the base branch (the branch into which you want to merge the pull request). This allows {% data variables.product.prodname_code_scanning %} to compute which alerts are newly introduced by the pull request, which alerts were already present in the base branch, and whether any existing alerts are fixed by the changes in the pull request. Initially, if you use a pull request to add {% data variables.product.prodname_code_scanning %} to a repository, the base branch has not yet been analyzed, so it's not possible to compute these details. In this case, when you click through from the results check on the pull request you will see the {% ifversion ghes > 3.2 or ghae %}"Analysis not found"{% elsif ghes = 3.2 %}"Missing analysis for base commit SHA-HASH"{% endif %} message.
There are other situations where there may be no analysis for the latest commit to the base branch for a pull request. These include:
@@ -177,7 +181,7 @@ There are other situations where there may be no analysis for the latest commit
To check whether a branch has been scanned, go to the {% data variables.product.prodname_code_scanning_capc %} page, click the **Branch** drop-down and select the relevant branch.
![Choose a branch from the Branch drop-down menu](/assets/images/help/repository/code-scanning-branch-dropdown.png)
![Choose a branch from the Branch drop-down menu](/assets/images/help/repository/code-scanning-branch-dropdown.png)
The solution in this situation is to add the name of the base branch to the `on:push` and `on:pull_request` specification in the {% data variables.product.prodname_code_scanning %} workflow on that branch and then make a change that updates the open pull request that you want to scan.
@@ -189,6 +193,8 @@ There are other situations where there may be no analysis for the latest commit
Merge a trivial change into the base branch to trigger {% data variables.product.prodname_code_scanning %} on this latest commit, then push a change to the pull request to retrigger {% data variables.product.prodname_code_scanning %}.
{% endif %}
## Next steps
After setting up {% data variables.product.prodname_code_scanning %}, and allowing its actions to complete, you can:

View File

@@ -417,7 +417,7 @@ updates:
### `open-pull-requests-limit`
By default, {% data variables.product.prodname_dependabot %} opens a maximum of five pull requests for version updates. Once there are five open pull requests, new requests are blocked until you merge or close some of the open requests, after which new pull requests can be opened on subsequent updates. Use `open-pull-requests-limit` to change this limit. This also provides a simple way to temporarily disable version updates for a package manager.
By default, {% data variables.product.prodname_dependabot %} opens a maximum of five pull requests for version updates. Once there are five open pull requests from {% data variables.product.prodname_dependabot %}, {% data variables.product.prodname_dependabot %} will not open any new requests until some of those open requests are merged or closed. Use `open-pull-requests-limit` to change this limit. This also provides a simple way to temporarily disable version updates for a package manager.
This option has no impact on security updates, which have a separate, internal limit of ten open pull requests.

View File

@@ -7,15 +7,11 @@ topics:
- Profile
---
{% note %}
**Note:** The ability to follow organizations is currently in public beta and subject to change.
{% endnote %}
{% data reusables.organizations.follow-organizations-beta %}
## About followers on {% data variables.product.product_name %}
When you follow organizations, you'll see their public activity on your personal dashboard. For more information, see "[About your personal dashboard](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/about-your-personal-dashboard#staying-updated-with-activity-from-the-community)."
{% data reusables.organizations.about-following-organizations %} For more information, see "[About your personal dashboard](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/about-your-personal-dashboard#staying-updated-with-activity-from-the-community)."
You can unfollow an organization if you do not wish to see their {% ifversion fpt or ghec %}public{% endif %} activity on {% data variables.product.product_name %}.

View File

@@ -57,7 +57,23 @@ From your dashboard, click the drop down menu of your username on the left side
![Switch account context dropdown](/assets/images/help/overview/dashboard-contextswitcher.png)
### Exploring other projects on {% data variables.product.prodname_dotcom %}
{% ifversion for-you-feed %}
## Following organizations
{% data reusables.organizations.follow-organizations-beta %}
{% data reusables.organizations.about-following-organizations %}
To follow an organization, in the header of the organization's page, click **Follow**.
![Screenshot of the organization header, with the follow button highlighted](/assets/images/help/profile/organization-profile-following.png)
For more information, see "[Following organizations](/get-started/exploring-projects-on-github/following-organizations)."
{% endif %}
## Exploring other projects on {% data variables.product.prodname_dotcom %}
You can discover new and interesting projects on {% data variables.product.prodname_dotcom %}'s Explore page. You can star interesting projects to make them easy to find again later. Visit your stars page to see all your starred projects. For more information about stars, see "[Saving repositories with stars](/get-started/exploring-projects-on-github/saving-repositories-with-stars)."

View File

@@ -294,3 +294,4 @@ sections:
- In a repository's settings, enabling the option to allow users with read access to create discussions does not enable this functionality.
- In some cases, users cannot convert existing issues to discussions.
- Custom patterns for secret scanning have `.*` as an end delimiter, specifically in the "After secret" field. This delimiter causes inconsistencies in scans for secrets across repositories, and you may notice gaps in a repository's history where no scans completed. Incremental scans may also be impacted. To prevent issues with scans, modify the end of the pattern to remove the `.*` delimiter.
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -0,0 +1 @@
When you follow organizations on {% data variables.product.product_name %}, you'll see their {% ifversion fpt or ghec %}public{% endif %} activity on your personal dashboard. This activity includes new discussions, sponsorships, and repositories.

View File

@@ -0,0 +1,5 @@
{% note %}
**Note:** The ability to follow organizations is currently in public beta and subject to change.
{% endnote %}

View File

@@ -1,16 +1,16 @@
{% ifversion ghes > 3.1 or ghes < 3.5 %}
{% ifversion ghes < 3.5 %}
In some cases, GitHub Advanced Security customers who upgrade to GitHub Enterprise Server 3.5 or later may notice that alerts from secret scanning are missing in the web UI and REST API. To ensure the alerts remain visible, do not skip 3.4 when you upgrade from an earlier release to 3.5 or later. A fix for 3.5 and later will be available in an upcoming patch release.
In some cases, GitHub Advanced Security customers who upgrade to GitHub Enterprise Server 3.5 or later may notice that alerts from secret scanning are missing in the web UI and REST API. To ensure the alerts remain visible, do not skip 3.4 when you upgrade from an earlier release to 3.5 or later. A fix will be available in upcoming patch releases.
To plan an upgrade through 3.4, see the [Upgrade assistant](https://support.github.com/enterprise/server-upgrade). [Updated: 2022-08-16]
To plan an upgrade through 3.4, see the [Upgrade assistant](https://support.github.com/enterprise/server-upgrade). [Updated: 2022-08-26]
{% elsif ghes > 3.4 or ghes < 3.7 %}
{% elsif ghes = 3.5 or ghes = 3.6 %}
In some cases, GitHub Advanced Security customers who upgrade to GitHub Enterprise Server {{ currentVersion }} may notice that alerts from secret scanning are missing in the web UI and REST API. To ensure the alerts remain visible, do not skip 3.4 as you upgrade to the latest release. To plan an upgrade through 3.4, see the [Upgrade assistant](https://support.github.com/enterprise/server-upgrade).
In some cases, GitHub Advanced Security customers who upgrade to GitHub Enterprise Server {{ allVersions[currentVersion].currentRelease }} may notice that alerts from secret scanning are missing in the web UI and REST API. To ensure the alerts remain visible, do not skip 3.4 as you upgrade to the latest release. To plan an upgrade through 3.4, see the [Upgrade assistant](https://support.github.com/enterprise/server-upgrade).
- To display the missing alerts for all repositories owned by an organization, organization owners can navigate to the organization's **Code security and analysis** settings, then click **Enable all** for secret scanning. For more information, see "[Managing security and analysis settings for your organization](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization#enabling-or-disabling-a-feature-for-all-existing-repositories)."
- To display the missing alerts for an individual repository, people with admin access to the repository can disable then enable secret scanning for the repository. For more information, see "[Managing security and analysis settings for your repository](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository)."
A fix will be available in an upcoming patch release. [Updated: 2022-08-16]
A fix will be available in an upcoming patch release. [Updated: 2022-08-26]
{% endif %}

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb3163676961cdebe25acf1b85b87bd5061704c228bdb5c3260ca8b705f5492f
size 795519
oid sha256:289182b3f588bcfea2a7a2e713464381f35ac57a18f0fbb534c294f0c44f6535
size 795597

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e1ae6280f35803c057d8fbca4790799bedde4ea05125e4ef35f4acf6a940cbb
size 1646704
oid sha256:51dfc7f452b50218101b78a57e374be9d8bb5f9992aaae850a13faa2095aa0b0
size 1646737

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a8d72819b2a0f839d9aed5cc5749280c873ad909d4b8f63512f4377bf57fb84
size 1093796
oid sha256:ea992738345b70eaaa2db455f9c4ba3e862ece737ef400c49d59e4eac8d2dd5b
size 1093884

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c766c7fc897a5bb9fcb12693ecb453bcf40be8119821c4f69e411b2a0df2b3a
size 4436829
oid sha256:56a3ac9761384211201569e3425517b9282e629b355745bd0532cc19dab23a08
size 4437316

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fe277cbf74d61f64a83a60e949d8ae7411f6b70f6b28096a6fa3b37bbaec7f2
size 734581
oid sha256:f1b51ccab24019ee2186c7b8c25344c628293bd0f17654de23bbb079c9ddb288
size 734525

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:920f53f179b838f6e757cb47725c66ce0a87941f5cc42732f7d2bda2e3269b93
size 3130788
oid sha256:0dc2d2520b54191a326398ea84ac8f374e980fdc529732ec054fa3e8b8e60c72
size 3130711

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:841bde236aa04b70154033798bcb93e6d035e28d4513316abb6df8eb24c44845
size 810651
oid sha256:9cd8ad4db43622610229900a1d471b36526ae47b223a2a3f403e3afadfaca51f
size 810584

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c8a0ad9c5358d7935dc939f1da7ebbe125da0363b9d33271a819d7cd5e612dc
size 4449465
oid sha256:fe37c1dc010bcdd4772be1ec59280351d90f7be7bd00fcfcf0d9eb21faea9572
size 4449355

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8deb79b91b75f2b928a61b5e44df456bd2edeaed4706c324e3e0071133ae632d
size 723125
oid sha256:4e4eba8d4f254f2dc135ff8e24d91df3fad83822705ed5e66865f802c19943bb
size 723076

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d1d583162ad856d30c0cc2133ad10e2e4ab4a573843e18c151e06fe87b78395
size 3025307
oid sha256:a6fc2ea58d987b6516ad2ba86747463349a123c31cc72d725297bd5e2527ee5b
size 3025643

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6a7c6b390439ba3e276f6b4d76d596255eec70a43ce7166d1a60c44f9d66627
size 820935
oid sha256:fac338958ad4492765ec378aea9607a8d91d192667f33261dd25ec155f46ca24
size 821018

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc3c0c640375b9a7e50b67885bf1b8ece8475ec5664af270a9964c3d3054ed9f
size 1694015
oid sha256:0e1ba04e784799b0e77f7f069273ad47443ad2ebc0d10f5a6c983d35f8d9e886
size 1694255

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:466a5ef7d0ee13c56521d97d7ff8c29b3d4fd8995343cdd4c69b823095da43b7
size 1128966
oid sha256:244cd7c19dbac6989584a7bf2179f5ee5b7b58b0aa2da6004f842e6e29c3f5ff
size 1128862

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9495671ab981d1dd914704188a44e18018dc7dd701c79fecbae20d9095fe241a
size 4539144
oid sha256:3ef0ba29e306a5bd9b0f5f3dd2cd88ce5fb694e452f3a66844679023a44c21d5
size 4538709

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f08086a6c52155d8108adb6c9a02b9af41b0a8b891820294df123c5d57b558e
size 755715
oid sha256:cb526386182088288cd78fefa02e81c097f81fa01e4f3e0acf7ea75afe2c59e7
size 755657

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d5bec6f96bab08a349239216a697525698f91a52fe700848a59baff0a726c61
size 3215125
oid sha256:c5da0e3445c2657bbe7503dafd7501783f58dd66904e7a58f4ec7419c055d98b
size 3214764

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e4a68d7ff4c7834f0c228c733b9f680829d4d2a56a15fbd18ec0b0caf57abe8
size 836091
oid sha256:7b6f14e5cec6bcf9be5933f0b0dce1dd544ab48c2d443a34898516c93cca2e07
size 836061

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7db651cac81d2ec751d893a3c00a40d94a169f376e46a76b7fd057bb439bdeb9
size 4583548
oid sha256:e0b3c746a8f41f22e086888c9a1ec218acc96d83f85044a94ee8cef3d5226427
size 4583433

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8d5c5e56fdd8ccff5eab9fdc89964041fb6dc813c233d5c8ffa45e207441e6f
size 744648
oid sha256:73155f9d0d9089c65e02314a4ae07b98f94b65678c55b39139952ee1d8a8351d
size 744867

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5a9fb3aaf0b6f4cb700ccf9e3c58488543216fa6abbfc46553c88a39dbdd806
size 3110667
oid sha256:29414f22e1ec5314a666d4193290263fb40208b1b4246fe9d8d64c49e92911e2
size 3110905

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d193105e216910ab99a184d6ec21244dbd95e6d88377e3fb258cf4db8409f389
size 823648
oid sha256:2f05157cc5861486458fce92073533fc4cef32b0a2a422f881468237bd373201
size 823596

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:007b6a3643726f5d5c3156b69abd67d0f4337d3c72326a9858dc91d6e5fa07e9
size 1710093
oid sha256:4ef301559a4b85f97df5e1a1de0985c35c0b0edd9a438b091a8b5f4da3edec28
size 1710386

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5da9d7a564577071d5f949a9346b26ceb50797efda821cb3c054dd00c59f2c1
size 1140636
oid sha256:4caa4cceff5cb3a756e502bd72e4dd790cb99b840527d7e5e78829b344956aa5
size 1140535

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d71ad11e817b3a86295145f9b8486cfda7f5738a4b5a65ce2ae20152fcb08ed0
size 4598715
oid sha256:5ac59bdc0099f435665528354fd0b373de0a3905bb5381c5cadcd815801406a2
size 4598055

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2ea165f1b153a66f5501b101bfe4b44671d090b0288a376481b4772fc676fd8
size 760499
oid sha256:c17b7592a6f0bbf7d22e226bd58fdc1e531155296b786627c05b9e1e5f3ee93a
size 760474

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fcc8d8d975412e65c16a2bf01981182be6b5ce4380c8c7c5cfdfc3537329e08e
size 3238810
oid sha256:6dfee89f5570172356d8bcdfe5866e440e84c4542e65e215db5229c62b232df1
size 3238708

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32f2ce07358f7b94cbc318d3f4108ed4302c7dd3bc4d7ad192354cf0e8027f85
size 839449
oid sha256:ef146fb2d9e6b220834e4a89b9bb81df62fd73284716510e136803365175c32d
size 839364

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:439315d4309b6dc4145f134fbef9dbf012f6f9d5253a366244005ad8583de7b7
size 4617182
oid sha256:68694121b4af1a17ebe4acc7560ec6aa3caf536ef951bcad9194389af98d71b2
size 4617087

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a23808904e9afd1b98a282a342653a63d5fc599bb782d81505c5de881e60bcec
size 748802
oid sha256:ebb2c53b9fada70962ec120d10fab33f1a0ec7cf25eba6d5d1a4eade3ef7b49b
size 748827

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efab45dc5a974d7368b8de5aab7081904ba92c504944be58a9f5c03878528ae3
size 3136463
oid sha256:71d1845bb0f5de00bebfbc4d33bb6134ea358b1fe8f30d101c9fe7d51ae43e0a
size 3136315

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e29723f847f781901d47b7e1ccd240fda293c3808ded7f96919f311e6d09389
size 854157
oid sha256:c22ea4844b65c53884a19411c378f6861a274c306bf8850f1451916cc17382f1
size 854265

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:602dcf5c341bf71becf25d292a125509a5d7f1293ee364062753fcc502b1df67
size 1774578
oid sha256:77fec2cc3dea99e6a64d934dad350131f556d84eb1810754af9c2f0088669968
size 1774639

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1c85749f223686f817e777bf03813aae9e4dc451f22d9ce8b225a1c99359d5d
size 1181037
oid sha256:592c46a8a40e69d21e217d905129637d0ebdc20273af517c54ccb41cb1f46564
size 1180870

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce15d4a43f49df1670917aa166094fc4771e7726ade921a4d6eeee721ac59002
size 4762505
oid sha256:a03834da49b4d2b44618990dc57459aa1e6144eced10f33d602aba83fcfc625d
size 4762596

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a826afcc8c16e7c1d76a2f855820882c953274125b9040d886dbb214d699153c
size 784939
oid sha256:71753c58313825389ca40527cf1c1972689e04ead5fc947dce70881de28b3e40
size 785021

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2612da9c9b837b011896a658253107949a4f832ac7682556c85d874869f84010
size 3357503
oid sha256:d748a7b88fd2b923c70840d4b30f8c7416e4b63484f3c973e38f1b058777515f
size 3357092

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af6e739454689e8ef254dfeecb3d88fed05f76760f58274aa2b55dece7831d8b
size 867779
oid sha256:5b9ee34bc4ddc0b64eb30d20eb04ecf5d384455fcb63831d4c139296dc7752bc
size 867736

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:911dd21848d853523c065bd4cb58d10e17dd625474dce4b03411188df189af60
size 4791727
oid sha256:71b272b114563693e510ac39123e5443567f3a6956b9c2b445933a7928b00f54
size 4791677

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:884f264d8066088745fc02e9b28781b0451de9ea62177bfb3dfc912f4221249a
size 772791
oid sha256:e8b0378728cdbcd147d44dacec1041a5c62c0b5522417a26e7c9682924a727a7
size 772803

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ce10c39211b15586843c9c3987a65a12d0754f5e2d61bc3b051619f145f0397
size 3249698
oid sha256:1bcd40367cc9d5a0a49024fc6d8de83b2d072cb15448c3546ca4779e226a7153
size 3249588

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ee08e7c0813db9ae9e9ae2c597d62d711c4c0d43ee2ddf3dc9f6281193e3519
size 875892
oid sha256:8f180bae1142831ddac13cdfc950dde9f82e0bfb27b1c7adf014d402e5dc89e8
size 875839

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a8f9639fb5a3919f95bbff1b97eac81df0fe050735ce7ea9487a0dcbeb3c4ce
size 1822400
oid sha256:b581174d3bd38bf924317ebf969234e2f8a6871d2a6577d5e20cea74e536241e
size 1822118

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9faf05f64deb208fe7c119d1731d1fbce353fb524da46b83003a37f5f74a539
size 1208710
oid sha256:83b9e7de85e5cdc617e2606b12a030e83fe95ed44cda5dba695969b079fef7cc
size 1208686

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1bd3fa0f809ca9be70a766b49318f63d79450c482689f866ebefc0c540040ac9
size 4876735
oid sha256:7f3137104523aa49509d39460da5f58ba4035bb41c1b8cc22715f6b6669545fa
size 4877778

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41819f89628d66c40ebd17650784818a234ff91f23aa910aba16c0e6e6e49791
size 805070
oid sha256:9a3c80116c8fb38b6619d37202b762b029cef5e4b65cce871826f1644007fc91
size 805190

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46d39963c04a49f56b8c0eb0e8edcad2561bc526d5cad5b504a7a42af29c1691
size 3451378
oid sha256:5c461266577bffcd757e488f4e080b8c80afc7b3850a1327d67d8a9bf3ef35c1
size 3451306

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3ab6b690f811946fc65aeea94ec7bdbe0c3ee9830291fd9c2b47ef70f6214da
size 889601
oid sha256:ec8ad32676418e26c8336f1b58ab9ec8023543fb16d2c2f944e6298c1faf1745
size 889762

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:101cec6d513462a5ec965afcda729883b08233692fd798504df235064fa20635
size 4917901
oid sha256:2606826680d004c6cd2bf2202774946177980f392b9f03ed2dff39fff235db28
size 4917767

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afd88fdd04cabbc69ecba8b5ae2690d4754e156be53c0ea9e3afa927157112a4
size 792686
oid sha256:429dc81d67901f85035299b77877aeeaa525b086c422bfc5af697a429de054d5
size 792729

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cde25299d501eb3e5312e3bcb36e07b593776f4b43812757f8f7a7312e8b001
size 3341614
oid sha256:3861657e260b7cfe74dccd5fcbf4616cb382ab92d1629075793194c2874688ee
size 3341799

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78967e4975735f6a1adb205ffe862612a08060e97b0761c93f1fa27090622c4e
size 1037197
oid sha256:9b33d69fa8ef66041880b3815df3707a0525b991009f59ce54de2d46f1b436c1
size 1037119

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aaa42dd459fbb8cc646f78b0c628744c060207833fa2c4324a985f1cfaae0db9
size 1870505
oid sha256:a9efdc65df2cb0b20e2b4e6fd70b62b51fb1822d22665afdbb0d101e48c39733
size 1870422

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea108e4709d6d06a9028cf13a2e1d1e1fd03db9f7dc6e1c5dbd52cbd01720607
size 1456682
oid sha256:d3e4ded75e1d2fc5556a757cd51332ac14e62f0471669405d2480ba54118ae07
size 1457510

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef315436ad7a5658e06989d54ead6e630b76b350119c89f6833b5330d714b6d6
size 5613994
oid sha256:31183ea4b05af0d1f8346ff7ac5afa2b517108becb1fc85ae9b65954d828761d
size 5612687

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9b65f1ec8e61a4dbca70252402ebe0fb5de625bf1af2cec2c322d77cece4431
size 937335
oid sha256:2b10182936575d12d1aca8a3e5e973170a927e3ae2155a1ce965a2cbdc95c46a
size 937386

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bbbf1f3c64e076cc3bffd2b4a1a35b9bb4bad529b8eb9cf79f4085f13556627
size 3893315
oid sha256:e08a4f24e65d32ae32e242ccdc44714a42b6cedd19a4c5aaa895c2a2e9186ab4
size 3893414

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bba2f37aef8ddae34f562c7a8b19e189254eb6b6d46dd913ec08b49465cd8353
size 1044536
oid sha256:4a18696a951d826357f0ae1ea4fde7f78f95f9a2e2bee6dc080dc6451ca6bb14
size 1044430

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec22f19b30837091914bd52ebde40607c66bf2eecad2a1e42cad305da2d80644
size 5608406
oid sha256:ea71122c3d6cec73fa0cea2a2cf0666a3449ccd36b4269f1a01b2804a26cd431
size 5608515

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4b89cd490794da2eb43802f99dab3bbc59ea43175700dda3aede1934049cc66
size 924448
oid sha256:3d466ff4eecd3526c8b3266970ed456ce6f4cbb7ef7d26caefb9b52533c7df9f
size 924407

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1881c4b19364d899e493922b3e4864c49293889fddfb66fea6f60de291861f4
oid sha256:c1a4e46ed297ebc12cbcfc95ede037382e42d3f4dc74e63e0e822a7ed68d2ff9
size 3789605

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1238b1f4c393d444137ad8a91cebf287f45e6788aa6a8d5a3786661bd565f1e5
size 660271
oid sha256:e057053833cb2f5272a650264fb3221deaad9429699e16306e1bd73271c0e362
size 660279

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d224c09c4c9f1f7f8fe31c17cdbf364626b09aaaab00f175ff0fb87cfe30b834
size 1318404
oid sha256:439c23e36933b6968eddfbf16ddf12780a452467e42a1e827e7b90502c3a3b3c
size 1318399

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bdc7e146e79880a2fac19e67aa8c947938af7051cb2606244476eff043a6740c
size 938048
oid sha256:77a1d0517f84ad6d87cec1a92237e9a53b117279219554d35e42a1c539b36c67
size 938071

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ef30af1ffd8c8956e8b2b5e3524de70263f4232911ff99055290eb6427893a1
size 3720309
oid sha256:3f313215ff125192358ec7c0f20e174caaf98bbdf5a594b38a4cf63b8de49339
size 3720163

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8000550a59480ea517d24dc723c8eae9dc7c3882adc184d715c518e2554b2290
size 614543
oid sha256:7c0eb43f1bce801cf221d87243f3d525a02b3016b69b56d66eda392c201fd35c
size 614539

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:826e88e53c454a9b5e5680c43b427ddb9e0945cfd72ade3860e72c9425c23742
size 2538182
oid sha256:4ed409c8fafc6cb32b0d2396310277e6031a67f3ac97ab4138e417692bb9078a
size 2538092

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5a2b7b9b75e15c73644102268b5662523e6431f552648287e6e43aae051144a
size 673446
oid sha256:85db91885a147dbc8c82015b8d3f7bc94e81cd0a6bbcc0b89e3b36e259d6fc13
size 673427

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f94f6e09166012eac72114718fe32725205ccfcc9ed7c969aab6917b054ee00b
size 3599965
oid sha256:89c3abd3a13e2ab682556ed8eb10c274b1330679bb59747a7fd2815b220a38d6
size 3599936

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59f7969631b77ebc51cfe62920e9cebfa0e7d0a33cf250770928b0d8d5e6268d
size 605114
oid sha256:a04dac485155a2d071d10605e4d0fe64a48314d460b5dc4a8d2bf7faab5e9850
size 605095

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d01655c0c1b8fe8e06ec7e9d73fd78ae63cc0034a56dc4544f863e26915e83d
size 2433936
oid sha256:d81aa8f8c708899d034fdb832a59283e176f13f437c0cef489881a0af53543f5
size 2433930

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b8335ba63696172b26b473f780b11c38ae83a957c67e9c0faead917c08a68fc
size 1008727
oid sha256:a8434ec0621e27e3de2676e802bb4638190f13564c6429ca64485679cc132752
size 1008620

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63eaa6c791a4d0117a951ad98d7e4afe28c3b4c3c554ca09aa0531cd3ae3bbda
size 1998490
oid sha256:5c9ecfbefebb4aa36886860fc106b6dc4521a7b1ed6df2f1b8947e6790966b93
size 1998206

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4749353898982b1b061bea8abece28dd71cbfa708122e0bc406763196c1081ce
size 1387401
oid sha256:72c47eb4f4c7d3b96ba17c9328cc0bdd46e41a8248c97976ae01de781bd88d3b
size 1387310

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:479c2455b7ba3d0b5df27ca7edce061d0c1740f2f1785ab54608e8e92ca1d351
size 5630956
oid sha256:369571bbe8cab54e50617a404fc0b7738e334a5d6544a5559b1deb067fd7f8f4
size 5629959

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2abdf36314a3d0f48bf585b2b78c678aa7bba05ae0dcf03b20e8efcd6313705b
size 936006
oid sha256:3cea0f334e46875e8576423c2d9d2c7185f9c04ee85e7af9ac054cd8b5fc4cbd
size 935941

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01dd92edf84bc0db88dea999f96034ae05e0ee10c6f45c585eceb1a173223e4b
size 4035094
oid sha256:a1a2a9192d24bdeab9b2d1c13b021acee77efd94173180451c067f2e952f530f
size 4035372

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47ef0b13c863ee20fb2f4d5c48156cb6ebb9db1170dc2ea32ccba8bd13272820
size 1022429
oid sha256:18be10b4377f26e0d11ad01d69181778b358b388f2af7c519d5d6fd4988dcfa4
size 1022654

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a770916383c24aa3fa2d14baf8ff6501aff85d2ad702f6e78ad6457a5d82fd4f
size 5708533
oid sha256:f4016a3fa171697279a8d4e6e16ca00a4bba18fc82810442903728e9f079873f
size 5707962

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16ff95c2975919d7e5354be65fdbcd5748ee62cf0f87f86647cdc5e3904a7b92
size 921004
oid sha256:4102cd5d4826da1c13b0d24ae35051c6c7b9890fc689b85f6c19e4967b2f48b8
size 920985

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:667295d3be01134536e8923dbed0944504d051bbf9e0be9d6efb69ba88dd1cbb
size 3915381
oid sha256:83b48716f0f286959b6a991f8b6edb72c76d867f4e590ca6ab541e8c96dcf19c
size 3915630

View File

@@ -2,6 +2,7 @@ import fs from 'fs'
import path from 'path'
import frontmatter from 'gray-matter'
import { languageKeys } from './lib/languages.js'
const homepage = path.posix.join(process.cwd(), 'content/index.md')
const { data } = frontmatter(fs.readFileSync(homepage, 'utf8'))
@@ -17,8 +18,7 @@ export default {
ignoreDuringBuilds: true,
},
i18n: {
// locales: Object.values(languages).map(({ code }) => code),
locales: ['en', 'cn', 'ja', 'es', 'pt'],
locales: languageKeys,
defaultLocale: 'en',
},
sassOptions: {

View File

@@ -55,7 +55,8 @@ describe('files', () => {
.map(path => path.replace('.md', ''))
for (const path of paths) {
const res = await get(`/${code}/${path}`)
expect(res.statusCode, path).toBe(200)
expect(res.statusCode, path).toBeGreaterThanOrEqual(200)
expect(res.statusCode, path).toBeLessThanOrEqual(399)
}
})