1
0
mirror of synced 2025-12-22 11:26:57 -05:00

Merge branch 'main' into patch-1

This commit is contained in:
Janice
2020-10-27 11:59:58 -07:00
committed by GitHub
54 changed files with 467 additions and 403 deletions

View File

@@ -16,7 +16,7 @@ See the [contributing docs](/CONTRIBUTING.md) for general information about work
- [`product`](#product) - [`product`](#product)
- [`layout`](#layout) - [`layout`](#layout)
- [`mapTopic`](#maptopic) - [`mapTopic`](#maptopic)
- [`gettingStartedLinks` and `popularLinks`](#gettingstartedlinks-and-popularlinks) - [`featuredLinks`](#featuredlinks)
- [`showMiniToc`](#showminitoc) - [`showMiniToc`](#showminitoc)
- [`miniTocMaxHeadingLevel`](#minitocmaxheadinglevel) - [`miniTocMaxHeadingLevel`](#minitocmaxheadinglevel)
- [`allowTitleToDifferFromFilename`](#allowtitletodifferfromfilename) - [`allowTitleToDifferFromFilename`](#allowtitletodifferfromfilename)
@@ -132,12 +132,22 @@ For a layout named `layouts/article.html`, the value would be `article`.
- Type: `Boolean`. Default is `false`. - Type: `Boolean`. Default is `false`.
- Optional. - Optional.
### `gettingStartedLinks` and `popularLinks` ### `featuredLinks`
- Purpose: Renders the linked articles' titles and intros under `Getting started` and `Popular articles` headings, respectively. See site homepage for an example. - Purpose: Renders the linked articles' titles and intros on product landing pages and the homepage.
- Type: `Array`. - Type: `Object`.
- Optional. - Optional.
Example:
```yaml
featuredLinks:
gettingStarted:
- /path/to/page
guides:
- /guides/example
```
### `showMiniToc` ### `showMiniToc`
- Purpose: Indicates whether an article should show a mini TOC above the rest of the content. See [Autogenerated mini TOCs](#autogenerated-mini-tocs) for more info. - Purpose: Indicates whether an article should show a mini TOC above the rest of the content. See [Autogenerated mini TOCs](#autogenerated-mini-tocs) for more info.

View File

@@ -5,15 +5,16 @@ intro: 'Automate, customize, and execute your software development workflows rig
introLinks: introLinks:
quickstart: /actions/quickstart quickstart: /actions/quickstart
learn: /actions/learn-github-actions learn: /actions/learn-github-actions
gettingStartedLinks: featuredLinks:
- /actions/managing-workflow-runs gettingStarted:
- /actions/hosting-your-own-runners - /actions/managing-workflow-runs
guideLinks: - /actions/hosting-your-own-runners
- /actions/guides/setting-up-continuous-integration-using-workflow-templates guide:
- /actions/guides/about-packaging-with-github-actions - /actions/guides/setting-up-continuous-integration-using-workflow-templates
popularLinks: - /actions/guides/about-packaging-with-github-actions
- /actions/reference/workflow-syntax-for-github-actions popular:
- /actions/reference/events-that-trigger-workflows - /actions/reference/workflow-syntax-for-github-actions
- /actions/reference/events-that-trigger-workflows
redirect_from: redirect_from:
- /articles/automating-your-workflow-with-github-actions/ - /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/ - /articles/customizing-your-project-with-github-actions/
@@ -42,7 +43,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.guides %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.guides %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in guideLinks %} {% for link in featuredLinks.guide %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -53,7 +54,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -64,7 +65,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -162,7 +163,7 @@ versions:
<h4>Publishing Node.js packages</h4> <h4>Publishing Node.js packages</h4>
<p class="mt-2 mb-4">Use GitHub Actions to push your Node.js package to GitHub Packages or npm.</p> <p class="mt-2 mb-4">Use GitHub Actions to push your Node.js package to GitHub Packages or npm.</p>
<div class="d-flex"> <div class="d-flex">
<span class="IssueLabel text-white bg-blue mr-2">Java</span> <span class="IssueLabel text-white bg-blue mr-2">JavaScript/TypeScript</span>
<span class="IssueLabel text-white bg-blue mr-2">CI</span> <span class="IssueLabel text-white bg-blue mr-2">CI</span>
</div> </div>
</div> </div>

View File

@@ -14,6 +14,9 @@ Now that we understand [the basics of webhooks][webhooks-overview], let's go thr
Creating a webhook is a two-step process. You'll first need to set up how you want your webhook to behave through {% data variables.product.product_name %}--what events should it listen to. After that, you'll set up your server to receive and manage the payload. Creating a webhook is a two-step process. You'll first need to set up how you want your webhook to behave through {% data variables.product.product_name %}--what events should it listen to. After that, you'll set up your server to receive and manage the payload.
{% data reusables.webhooks.webhooks-rest-api-links %}
### Setting up a Webhook ### Setting up a Webhook
You can install webhooks on an organization or on a specific repository. You can install webhooks on an organization or on a specific repository.

View File

@@ -12,6 +12,7 @@ versions:
Once your server is configured to receive payloads, it'll listen for any payload sent to the endpoint you configured. For security reasons, you probably want to limit requests to those coming from GitHub. There are a few ways to go about this--for example, you could opt to allow requests from GitHub's IP address--but a far easier method is to set up a secret token and validate the information. Once your server is configured to receive payloads, it'll listen for any payload sent to the endpoint you configured. For security reasons, you probably want to limit requests to those coming from GitHub. There are a few ways to go about this--for example, you could opt to allow requests from GitHub's IP address--but a far easier method is to set up a secret token and validate the information.
{% data reusables.webhooks.webhooks-rest-api-links %}
### Setting your secret token ### Setting your secret token

View File

@@ -43,8 +43,9 @@ To re-enable Universal Links, long-press any {% data variables.product.prodname_
### Sharing feedback ### Sharing feedback
If you have feedback or feature requests for {% data variables.product.prodname_mobile %}, you can email us at <a href="mailto:mobilefeedback@github.com">mobilefeedback@github.com</a>. If you find a bug in {% data variables.product.prodname_mobile %}, you can email us at <a href="mailto:mobilefeedback@github.com">mobilefeedback@github.com</a>.
You can submit feature requests or other feedback for {% data variables.product.prodname_mobile %} [on GitHub Discussions](https://github.com/github/feedback/discussions?discussions_q=category%3A%22Mobile+Feedback%22).
### Opting out of beta releases for iOS ### Opting out of beta releases for iOS

View File

@@ -26,7 +26,7 @@ versions:
3. Change the current working directory to your local project. 3. Change the current working directory to your local project.
4. Initialize the local directory as a Git repository. 4. Initialize the local directory as a Git repository.
```shell ```shell
$ git init $ git init -b main
``` ```
5. Add the files in your new local repository. This stages them for the first commit. 5. Add the files in your new local repository. This stages them for the first commit.
```shell ```shell
@@ -63,7 +63,7 @@ versions:
3. Change the current working directory to your local project. 3. Change the current working directory to your local project.
4. Initialize the local directory as a Git repository. 4. Initialize the local directory as a Git repository.
```shell ```shell
$ git init $ git init -b main
``` ```
5. Add the files in your new local repository. This stages them for the first commit. 5. Add the files in your new local repository. This stages them for the first commit.
```shell ```shell
@@ -100,7 +100,7 @@ versions:
3. Change the current working directory to your local project. 3. Change the current working directory to your local project.
4. Initialize the local directory as a Git repository. 4. Initialize the local directory as a Git repository.
```shell ```shell
$ git init $ git init -b main
``` ```
5. Add the files in your new local repository. This stages them for the first commit. 5. Add the files in your new local repository. This stages them for the first commit.
```shell ```shell

View File

@@ -51,7 +51,7 @@ The number of jobs you can run concurrently across all repositories in your user
At the end of the month, {% data variables.product.prodname_dotcom %} calculates the cost of minutes and storage used over the amount included in your account. For example, if your organization uses {% data variables.product.prodname_team %} and allows unlimited spending, using 15,000 minutes could have a total storage and minute overage cost of $56, depending on the operating systems used to run jobs. At the end of the month, {% data variables.product.prodname_dotcom %} calculates the cost of minutes and storage used over the amount included in your account. For example, if your organization uses {% data variables.product.prodname_team %} and allows unlimited spending, using 15,000 minutes could have a total storage and minute overage cost of $56, depending on the operating systems used to run jobs.
- 5,000 (3,000 Linux and 2,000 Windows) minutes = $56 ($24 + $32). - 5,000 (3,000 Linux and 2,000 Windows) minutes = $56 ($24 + $32).
- 3,000 Linux minutes at $0.008 per = $24. - 3,000 Linux minutes at $0.008 per minute = $24.
- 2,000 Windows minutes at $0.016 per minute = $32. - 2,000 Windows minutes at $0.016 per minute = $32.
At the end of the month, {% data variables.product.prodname_dotcom %} rounds your data transfer to the nearest GB. At the end of the month, {% data variables.product.prodname_dotcom %} rounds your data transfer to the nearest GB.

View File

@@ -334,9 +334,9 @@ With the ID known, we can proceed with the mutation:
Let's examine this line: Let's examine this line:
- `addReaction` is the name of the mutation. - `addReaction` is the name of the mutation.
- `input` is the required argument key. This will always be `input` for a mutation. - `input` is the required argument key. This will always be `input` for a mutation.
- `{subjectId:"MDU6SXNzdWUyMzEzOTE1NTE=",content:HOORAY}` is the required argument value. This will always be an [input object](/v4/input_object/) (hence the curly braces) composed of input fields (`subjectId` and `content` in this case) for a mutation. - `{subjectId:"MDU6SXNzdWUyMzEzOTE1NTE=",content:HOORAY}` is the required argument value. This will always be an [input object](/v4/input_object/) (hence the curly braces) composed of input fields (`subjectId` and `content` in this case) for a mutation.
How do we know which value to use for the content? The [`addReaction` docs](/v4/mutation/addreaction/) tell us the `content` field has the type [`ReactionContent`](/v4/enum/reactioncontent/), which is an [enum](/v4/enum) because only certain emoji reactions are supported on GitHub issues. These are the allowed values for reactions (note some values differ from their corresponding emoji names): How do we know which value to use for the content? The [`addReaction` docs](/v4/mutation/addreaction/) tell us the `content` field has the type [`ReactionContent`](/v4/enum/reactioncontent/), which is an [enum](/v4/enum) because only certain emoji reactions are supported on GitHub issues. These are the allowed values for reactions (note some values differ from their corresponding emoji names):

View File

@@ -1,16 +1,17 @@
--- ---
title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation' title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation'
gettingStartedLinks: featuredLinks:
- /github/getting-started-with-github/set-up-git gettingStarted:
- /github/authenticating-to-github/connecting-to-github-with-ssh - /github/getting-started-with-github/set-up-git
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github - /github/authenticating-to-github/connecting-to-github-with-ssh
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github
popularLinks: - /github/writing-on-github/basic-writing-and-formatting-syntax
- /github/collaborating-with-issues-and-pull-requests/about-pull-requests popular:
- /github/authenticating-to-github - /github/collaborating-with-issues-and-pull-requests/about-pull-requests
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line - /github/authenticating-to-github
- /github/using-git/managing-remote-repositories - /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/working-with-github-pages - /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions: '*' versions: '*'
--- ---

View File

@@ -2,14 +2,15 @@
title: GitHub Insights Documentation title: GitHub Insights Documentation
shortTitle: GitHub Insights shortTitle: GitHub Insights
intro: 'Understand and improve your software delivery process through data with {% data variables.product.prodname_insights %}. You can view customized reports based on data from {% data variables.product.prodname_enterprise %}.' intro: 'Understand and improve your software delivery process through data with {% data variables.product.prodname_insights %}. You can view customized reports based on data from {% data variables.product.prodname_enterprise %}.'
gettingStartedLinks: featuredLinks:
- /insights/installing-and-configuring-github-insights/about-github-insights gettingStarted:
- /insights/installing-and-configuring-github-insights/system-overview-for-github-insights - /insights/installing-and-configuring-github-insights/about-github-insights
- /insights/installing-and-configuring-github-insights/installing-github-insights - /insights/installing-and-configuring-github-insights/system-overview-for-github-insights
- /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports - /insights/installing-and-configuring-github-insights/installing-github-insights
popularLinks: - /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports
- /insights/installing-and-configuring-github-insights/about-data-in-github-insights popular:
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights - /insights/installing-and-configuring-github-insights/about-data-in-github-insights
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights
redirect_from: redirect_from:
- /github/installing-and-configuring-github-insights - /github/installing-and-configuring-github-insights
versions: versions:

View File

@@ -2,18 +2,19 @@
title: GitHub Packages Documentation title: GitHub Packages Documentation
shortTitle: GitHub Packages shortTitle: GitHub Packages
intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.' intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.'
gettingStartedLinks: featuredLinks:
- /packages/publishing-and-managing-packages/about-github-packages gettingStarted:
- /packages/getting-started-with-github-container-registry/about-github-container-registry - /packages/publishing-and-managing-packages/about-github-packages
- /packages/getting-started-with-github-container-registry - /packages/getting-started-with-github-container-registry/about-github-container-registry
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/getting-started-with-github-container-registry
- /packages/publishing-and-managing-packages/publishing-a-package - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/publishing-and-managing-packages/installing-a-package - /packages/publishing-and-managing-packages/publishing-a-package
popularLinks: - /packages/publishing-and-managing-packages/installing-a-package
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages popular:
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages - /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions
redirect_from: redirect_from:
- /github/managing-packages-with-github-packages - /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry - /categories/managing-packages-with-github-package-registry

View File

@@ -61,3 +61,12 @@ Be sure to replace stubbed endpoints with production endpoints before deploying
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}
## Webhooks
{% for operation in currentRestOperations %}
{% if operation.subcategory == 'webhooks' %}{% include rest_operation %}{% endif %}
{% endfor %}
{% endif %}

View File

@@ -56,5 +56,5 @@ For more best practices, [see our guide](/guides/best-practices-for-integrators/
{% data variables.product.product_name %} will send along several HTTP headers to differentiate between event types and payload identifiers. See [webhook headers](/webhooks/event-payloads/#delivery-headers) for details. {% data variables.product.product_name %} will send along several HTTP headers to differentiate between event types and payload identifiers. See [webhook headers](/webhooks/event-payloads/#delivery-headers) for details.
{% for operation in currentRestOperations %} {% for operation in currentRestOperations %}
{% if operation.subcategory == 'hooks' %}{% include rest_operation %}{% endif %} {% if operation.subcategory == 'webhooks' %}{% include rest_operation %}{% endif %}
{% endfor %} {% endfor %}

View File

@@ -288,7 +288,7 @@ The Repository Webhooks API allows repository admins to manage the post-receive
If you would like to set up a single webhook to receive events from all of your organization's repositories, see our API documentation for [Organization Webhooks](/rest/reference/orgs#webhooks). If you would like to set up a single webhook to receive events from all of your organization's repositories, see our API documentation for [Organization Webhooks](/rest/reference/orgs#webhooks).
{% for operation in currentRestOperations %} {% for operation in currentRestOperations %}
{% if operation.subcategory == 'hooks' %}{% include rest_operation %}{% endif %} {% if operation.subcategory == 'webhooks' %}{% include rest_operation %}{% endif %}
{% endfor %} {% endfor %}
### Receiving Webhooks ### Receiving Webhooks

View File

@@ -0,0 +1,4 @@
You can use the repository, organization, and app webhook REST APIs to create, update, delete, and ping webhooks. {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}You can also use the REST API to change the configuration of the webhook. For example, you can modify the payload URL, content type, SSL verification, and secret. {% endif %}For more information, see:
- [Repository Webhooks REST API](/rest/reference/repos#webhooks)
- [Organization Webhooks REST API](/rest/reference/orgs#webhooks){% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}
- [GitHub App Webhooks REST API](/rest/reference/apps#webhooks){% endif %}

View File

@@ -63,7 +63,7 @@
</div> </div>
</div> </div>
<div id="article-contents" class="article-grid-body"> <div id="article-contents" class="article-grid-body">
{% if gettingStartedLinks and popularLinks %} {% if featuredLinks.gettingStarted and featuredLinks.popular %}
{% include featured-links %} {% include featured-links %}
{% endif %} {% endif %}
{{ renderedPage }} {{ renderedPage }}

View File

@@ -7,7 +7,7 @@
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
</div> </div>
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
{% include featured-link %} {% include featured-link %}
{% endfor %} {% endfor %}
</div> </div>
@@ -18,7 +18,7 @@
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
{% include featured-link %} {% include featured-link %}
{% endfor %} {% endfor %}
</div> </div>

View File

@@ -7,7 +7,7 @@
</div> </div>
<pre><code><span class="bg-blue text-white rounded-1 px-2 py-1" style="text-transform: uppercase">{{operation.verb}}</span> {{operation.requestPath}}</code></pre> <pre><code><span class="bg-blue text-white rounded-1 px-2 py-1" style="text-transform: uppercase">{{operation.verb}}</span> {{operation.requestPath}}</code></pre>
<div> <div>
{% if operation.parameters.size > 0 %} {% if operation.parameters.size > 0 or operation.bodyParameters.size > 0 %}
<h4 id="{{operation.slug}}--parameters"> <h4 id="{{operation.slug}}--parameters">
<a href="#{{operation.slug}}--parameters">{% data ui.products.rest.reference.parameters %}</a> <a href="#{{operation.slug}}--parameters">{% data ui.products.rest.reference.parameters %}</a>
</h4> </h4>
@@ -115,12 +115,17 @@
<pre><code>Status: {{ response.httpStatusCode }} {{ response.httpStatusMessage }}</code></pre> <pre><code>Status: {{ response.httpStatusCode }} {{ response.httpStatusMessage }}</code></pre>
<div class="height-constrained-code-block">{{ response.payload }}</div> <div class="height-constrained-code-block">{{ response.payload }}</div>
{% endfor %} {% endfor %}
{% if operation.notes.size > 0 %} {% if operation.notes.size > 0 or operation.x-github.enabledForGitHubApps %}
<h4>Notes</h4> <h4>Notes</h4>
<ul class="mt-2"> <ul class="mt-2">
{% for note in operation.notes %} {% if operation.x-github.enabledForGitHubApps %}
<li>{{ note }}</li> <li><a href="{{ restGitHubAppsLink }}">Works with GitHub Apps</a></li>
{% endfor %} {% endif %}
{% for note in operation.notes %}
{% unless note == '<a href="{{ restGitHubAppsLink }}">Works with GitHub Apps</a>' %}
<li>{{ note }}</li>
{% endunless %}
{% endfor %}
</ul> </ul>
{% endif %} {% endif %}
{% if operation.x-github.previews.size > 0 %} {% if operation.x-github.previews.size > 0 %}

View File

@@ -13,7 +13,7 @@ const plans = [
releases: [latestNonNumberedRelease], releases: [latestNonNumberedRelease],
latestRelease: latestNonNumberedRelease, latestRelease: latestNonNumberedRelease,
nonEnterpriseDefault: true, // permanent way to refer to this plan if the name changes nonEnterpriseDefault: true, // permanent way to refer to this plan if the name changes
openApiBaseName: 'dotcom' openApiBaseName: 'api.github.com'
}, },
{ {
plan: 'enterprise-server', plan: 'enterprise-server',
@@ -21,7 +21,7 @@ const plans = [
releases: enterpriseServerReleases.supported, releases: enterpriseServerReleases.supported,
latestRelease: enterpriseServerReleases.latest, latestRelease: enterpriseServerReleases.latest,
hasNumberedReleases: true, hasNumberedReleases: true,
openApiBaseName: '' openApiBaseName: 'ghes-'
} }
] ]

View File

@@ -52,15 +52,6 @@ const schema = {
redirect_from: { redirect_from: {
type: ['array', 'string'] type: ['array', 'string']
}, },
gettingStartedLinks: {
type: 'array'
},
popularLinks: {
type: 'array'
},
guideLinks: {
type: 'array'
},
allowTitleToDifferFromFilename: { allowTitleToDifferFromFilename: {
type: 'boolean' type: 'boolean'
}, },
@@ -70,6 +61,16 @@ const schema = {
quickstart: { type: 'string' }, quickstart: { type: 'string' },
learn: { type: 'string' } learn: { type: 'string' }
} }
},
featuredLinks: {
type: 'object',
additionalProperties: false,
patternProperties: {
'^[a-zA-Z-_]+$': {
type: 'array',
items: { type: 'string' }
}
}
} }
} }
} }

View File

@@ -59,15 +59,6 @@ class Page {
this.rawProduct = this.product this.rawProduct = this.product
this.rawPermissions = this.permissions this.rawPermissions = this.permissions
// Store raw data so we can access/modify it later in middleware
this.rawGettingStartedLinks = this.gettingStartedLinks
this.rawPopularLinks = this.popularLinks
this.rawGuideLinks = this.guideLinks
// Do not need to keep the original props
delete this.gettingStartedLinks
delete this.popularLinks
delete this.guideLinks
// a page should only be available in versions that its parent product is available in // a page should only be available in versions that its parent product is available in
const versionsParentProductIsNotAvailableIn = getApplicableVersions(this.versions, this.fullPath) const versionsParentProductIsNotAvailableIn = getApplicableVersions(this.versions, this.fullPath)
// only the homepage will not have this.parentProduct // only the homepage will not have this.parentProduct

View File

@@ -7,6 +7,10 @@ let allCategories = []
allVersionKeys.forEach(currentVersion => { allVersionKeys.forEach(currentVersion => {
// Translate the versions from the openapi to versions used in the docs // Translate the versions from the openapi to versions used in the docs
const openApiVersion = allVersions[currentVersion].openApiVersionName const openApiVersion = allVersions[currentVersion].openApiVersionName
// Check that the openApiVersion is configured in the OpenAPI
if (!operations[openApiVersion]) return
operations[currentVersion] = operations[openApiVersion] operations[currentVersion] = operations[openApiVersion]
delete operations[openApiVersion] delete operations[openApiVersion]

View File

@@ -8,9 +8,12 @@ module.exports = async (req, res, next) => {
if (!(req.context.page.relativePath.endsWith('index.md') || req.context.page.layout === 'product-landing')) return next() if (!(req.context.page.relativePath.endsWith('index.md') || req.context.page.layout === 'product-landing')) return next()
req.context.gettingStartedLinks = await getLinkData(req.context.page.rawGettingStartedLinks, req.context) if (!req.context.page.featuredLinks) return next()
req.context.popularLinks = await getLinkData(req.context.page.rawPopularLinks, req.context)
req.context.guideLinks = await getLinkData(req.context.page.rawGuideLinks, req.context) req.context.featuredLinks = {}
for (const key in req.context.page.featuredLinks) {
req.context.featuredLinks[key] = await getLinkData(req.context.page.featuredLinks[key], req.context)
}
return next() return next()
} }

18
package-lock.json generated
View File

@@ -1156,9 +1156,9 @@
} }
}, },
"@github/rest-api-operations": { "@github/rest-api-operations": {
"version": "3.1.4", "version": "3.2.2",
"resolved": "https://registry.npmjs.org/@github/rest-api-operations/-/rest-api-operations-3.1.4.tgz", "resolved": "https://registry.npmjs.org/@github/rest-api-operations/-/rest-api-operations-3.2.2.tgz",
"integrity": "sha512-3BCTMhl9UhT0eKGNJvgawnsL7818Ivs15qptB1zApXyYN2qc2FQ+M4PBydGrkQ/ZFdc0x7iT7zIKb2G8peIULQ==" "integrity": "sha512-mCZ3caASdKyR7dEBWMpEbdUpo54EHpWAKdiK57jIfXzgCUhlQqH48gPhcsrdiRTmofUDfsXHFmvH05ERdraZHQ=="
}, },
"@hapi/address": { "@hapi/address": {
"version": "2.1.4", "version": "2.1.4",
@@ -4206,7 +4206,7 @@
}, },
"browserify-aes": { "browserify-aes": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
"requires": { "requires": {
"buffer-xor": "^1.0.3", "buffer-xor": "^1.0.3",
@@ -4240,7 +4240,7 @@
}, },
"browserify-rsa": { "browserify-rsa": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", "resolved": "http://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
"integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",
"requires": { "requires": {
"bn.js": "^4.1.0", "bn.js": "^4.1.0",
@@ -5657,7 +5657,7 @@
}, },
"create-hash": { "create-hash": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", "resolved": "http://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",
"requires": { "requires": {
"cipher-base": "^1.0.1", "cipher-base": "^1.0.1",
@@ -5669,7 +5669,7 @@
}, },
"create-hmac": { "create-hmac": {
"version": "1.1.7", "version": "1.1.7",
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", "resolved": "http://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",
"requires": { "requires": {
"cipher-base": "^1.0.3", "cipher-base": "^1.0.3",
@@ -6396,7 +6396,7 @@
}, },
"diffie-hellman": { "diffie-hellman": {
"version": "5.0.3", "version": "5.0.3",
"resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", "resolved": "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
"integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",
"requires": { "requires": {
"bn.js": "^4.1.0", "bn.js": "^4.1.0",
@@ -19071,7 +19071,7 @@
}, },
"sha.js": { "sha.js": {
"version": "2.4.11", "version": "2.4.11",
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
"requires": { "requires": {
"inherits": "^2.0.1", "inherits": "^2.0.1",

View File

@@ -16,7 +16,7 @@
"@github-docs/data-directory": "^1.2.0", "@github-docs/data-directory": "^1.2.0",
"@github-docs/frontmatter": "^1.3.1", "@github-docs/frontmatter": "^1.3.1",
"@github-docs/render-content": "^5.2.0", "@github-docs/render-content": "^5.2.0",
"@github/rest-api-operations": "^3.1.4", "@github/rest-api-operations": "^3.2.2",
"@octokit/rest": "^16.38.1", "@octokit/rest": "^16.38.1",
"@primer/css": "^15.1.0", "@primer/css": "^15.1.0",
"@primer/octicons": "^11.0.0", "@primer/octicons": "^11.0.0",

View File

@@ -3,7 +3,7 @@ const enterpriseServerReleases = require('../../lib/enterprise-server-releases')
const japaneseCharacters = require('japanese-characters') const japaneseCharacters = require('japanese-characters')
const nonEnterpriseDefaultVersion = require('../../lib/non-enterprise-default-version') const nonEnterpriseDefaultVersion = require('../../lib/non-enterprise-default-version')
describe('gettingStartedLinks and popularLinks', () => { describe('featuredLinks', () => {
jest.setTimeout(3 * 60 * 1000) jest.setTimeout(3 * 60 * 1000)
describe('rendering', () => { describe('rendering', () => {
@@ -55,7 +55,7 @@ describe('gettingStartedLinks and popularLinks', () => {
describe('context.page object', () => { describe('context.page object', () => {
test('returns modified array of links', async () => { test('returns modified array of links', async () => {
const gettingStartedLinks = await getJSON('/en?json=gettingStartedLinks') const gettingStartedLinks = await getJSON('/en?json=featuredLinks.gettingStarted')
const expectedFirstLink = { const expectedFirstLink = {
href: `/en/${nonEnterpriseDefaultVersion}/github/getting-started-with-github/set-up-git`, href: `/en/${nonEnterpriseDefaultVersion}/github/getting-started-with-github/set-up-git`,
title: 'Set up Git' title: 'Set up Git'
@@ -66,7 +66,7 @@ describe('gettingStartedLinks and popularLinks', () => {
}) })
test('returns raw array of links on the page object', async () => { test('returns raw array of links on the page object', async () => {
const rawGettingStartedLinks = await getJSON('/en?json=page.rawGettingStartedLinks') const rawGettingStartedLinks = await getJSON('/en?json=page.featuredLinks.gettingStarted')
expect(rawGettingStartedLinks[0]).toEqual('/github/getting-started-with-github/set-up-git') expect(rawGettingStartedLinks[0]).toEqual('/github/getting-started-with-github/set-up-git')
}) })
}) })

View File

@@ -2,15 +2,16 @@
title: Dokumentation zu GitHub Actions title: Dokumentation zu GitHub Actions
shortTitle: GitHub Actions shortTitle: GitHub Actions
intro: 'Mit {% data variables.product.prodname_actions %} kannst Du Deine Softwareentwicklungs-Workflows direkt in Ihrem Repository automatisieren, anpassen und ausführen. Du kannst Actions entdecken, erstellen und weitergeben, um beliebige Aufträge (einschließlich CI/CD) auszuführen. Du kannst auch Actions in einem vollständig angepassten Workflow kombinieren.' intro: 'Mit {% data variables.product.prodname_actions %} kannst Du Deine Softwareentwicklungs-Workflows direkt in Ihrem Repository automatisieren, anpassen und ausführen. Du kannst Actions entdecken, erstellen und weitergeben, um beliebige Aufträge (einschließlich CI/CD) auszuführen. Du kannst auch Actions in einem vollständig angepassten Workflow kombinieren.'
gettingStartedLinks: featuredLinks:
- /actions/quickstart gettingStarted:
- /actions/learn-github-actions - /actions/quickstart
guideLinks: - /actions/learn-github-actions
- /actions/managing-workflow-runs guide:
- /actions/hosting-your-own-runners - /actions/managing-workflow-runs
popularLinks: - /actions/hosting-your-own-runners
- /actions/reference/workflow-syntax-for-github-actions popular:
- /actions/reference/events-that-trigger-workflows - /actions/reference/workflow-syntax-for-github-actions
- /actions/reference/events-that-trigger-workflows
redirect_from: redirect_from:
- /articles/automating-your-workflow-with-github-actions/ - /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/ - /articles/customizing-your-project-with-github-actions/
@@ -39,7 +40,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -50,7 +51,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -61,7 +62,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in guideLinks %} {% for link in featuredLinks.guide %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -1,16 +1,17 @@
--- ---
title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation' title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation'
gettingStartedLinks: featuredLinks:
- /github/getting-started-with-github/set-up-git gettingStarted:
- /github/authenticating-to-github/connecting-to-github-with-ssh - /github/getting-started-with-github/set-up-git
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github - /github/authenticating-to-github/connecting-to-github-with-ssh
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github
popularLinks: - /github/writing-on-github/basic-writing-and-formatting-syntax
- /github/collaborating-with-issues-and-pull-requests/about-pull-requests popular:
- /github/authenticating-to-github - /github/collaborating-with-issues-and-pull-requests/about-pull-requests
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line - /github/authenticating-to-github
- /github/using-git/managing-remote-repositories - /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/working-with-github-pages - /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions: '*' versions: '*'
--- ---

View File

@@ -2,14 +2,15 @@
title: GitHub Insights Documentation title: GitHub Insights Documentation
shortTitle: GitHub Insights shortTitle: GitHub Insights
intro: 'Understand and improve your software delivery process through data with {% data variables.product.prodname_insights %}. You can view customized reports based on data from {% data variables.product.prodname_enterprise %}.' intro: 'Understand and improve your software delivery process through data with {% data variables.product.prodname_insights %}. You can view customized reports based on data from {% data variables.product.prodname_enterprise %}.'
gettingStartedLinks: featuredLinks:
- /insights/installing-and-configuring-github-insights/about-github-insights gettingStarted:
- /insights/installing-and-configuring-github-insights/system-overview-for-github-insights - /insights/installing-and-configuring-github-insights/about-github-insights
- /insights/installing-and-configuring-github-insights/installing-github-insights - /insights/installing-and-configuring-github-insights/system-overview-for-github-insights
- /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports - /insights/installing-and-configuring-github-insights/installing-github-insights
popularLinks: - /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports
- /insights/installing-and-configuring-github-insights/about-data-in-github-insights popular:
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights - /insights/installing-and-configuring-github-insights/about-data-in-github-insights
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights
redirect_from: redirect_from:
- /github/installing-and-configuring-github-insights - /github/installing-and-configuring-github-insights
versions: versions:

View File

@@ -2,18 +2,19 @@
title: GitHub Packages Documentation title: GitHub Packages Documentation
shortTitle: GitHub Packages shortTitle: GitHub Packages
intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.' intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.'
gettingStartedLinks: featuredLinks:
- /packages/publishing-and-managing-packages/about-github-packages gettingStarted:
- /packages/getting-started-with-github-container-registry/about-github-container-registry - /packages/publishing-and-managing-packages/about-github-packages
- /packages/getting-started-with-github-container-registry - /packages/getting-started-with-github-container-registry/about-github-container-registry
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/getting-started-with-github-container-registry
- /packages/publishing-and-managing-packages/publishing-a-package - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/publishing-and-managing-packages/installing-a-package - /packages/publishing-and-managing-packages/publishing-a-package
popularLinks: - /packages/publishing-and-managing-packages/installing-a-package
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages popular:
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages - /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions
redirect_from: redirect_from:
- /github/managing-packages-with-github-packages - /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry - /categories/managing-packages-with-github-package-registry

View File

@@ -2,15 +2,16 @@
title: Documentación de GitHub Actions title: Documentación de GitHub Actions
shortTitle: GitHub Actions shortTitle: GitHub Actions
intro: 'Automatiza, personaliza y ejecuta tus flujos de trabajo de desarrollo de software directamente en tu repositorio con {% data variables.product.prodname_actions %}. Puedes descubrir, crear y compartir acciones para realizar cualquier trabajo que quieras, incluido CI/CD, y combinar acciones en un flujo de trabajo completamente personalizado.' intro: 'Automatiza, personaliza y ejecuta tus flujos de trabajo de desarrollo de software directamente en tu repositorio con {% data variables.product.prodname_actions %}. Puedes descubrir, crear y compartir acciones para realizar cualquier trabajo que quieras, incluido CI/CD, y combinar acciones en un flujo de trabajo completamente personalizado.'
gettingStartedLinks: featuredLinks:
- /actions/quickstart gettingStarted:
- /actions/learn-github-actions - /actions/quickstart
guideLinks: - /actions/learn-github-actions
- /actions/managing-workflow-runs guide:
- /actions/hosting-your-own-runners - /actions/managing-workflow-runs
popularLinks: - /actions/hosting-your-own-runners
- /actions/reference/workflow-syntax-for-github-actions popular:
- /actions/reference/events-that-trigger-workflows - /actions/reference/workflow-syntax-for-github-actions
- /actions/reference/events-that-trigger-workflows
redirect_from: redirect_from:
- /articles/automating-your-workflow-with-github-actions/ - /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/ - /articles/customizing-your-project-with-github-actions/
@@ -39,7 +40,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -50,7 +51,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -61,7 +62,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Administrar flujos de trabajo</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Administrar flujos de trabajo</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in guideLinks %} {% for link in featuredLinks.guide %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -1,16 +1,17 @@
--- ---
title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Documentación de Ayuda' title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Documentación de Ayuda'
gettingStartedLinks: featuredLinks:
- /github/getting-started-with-github/set-up-git gettingStarted:
- /github/authenticating-to-github/connecting-to-github-with-ssh - /github/getting-started-with-github/set-up-git
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github - /github/authenticating-to-github/connecting-to-github-with-ssh
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github
popularLinks: - /github/writing-on-github/basic-writing-and-formatting-syntax
- /github/collaborating-with-issues-and-pull-requests/about-pull-requests popular:
- /github/authenticating-to-github - /github/collaborating-with-issues-and-pull-requests/about-pull-requests
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line - /github/authenticating-to-github
- /github/using-git/managing-remote-repositories - /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/working-with-github-pages - /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions: versions:
free-pro-team: '*' free-pro-team: '*'
enterprise-server: '*' enterprise-server: '*'

View File

@@ -2,14 +2,15 @@
title: Documentación de GitHub Insights title: Documentación de GitHub Insights
shortTitle: GitHub Insights shortTitle: GitHub Insights
intro: 'Entiende y mejora tu proceso de entrega de software a través de datos con {% data variables.product.prodname_insights %}. Puedes ver informes personalizados basados en datos de {% data variables.product.prodname_enterprise %}.' intro: 'Entiende y mejora tu proceso de entrega de software a través de datos con {% data variables.product.prodname_insights %}. Puedes ver informes personalizados basados en datos de {% data variables.product.prodname_enterprise %}.'
gettingStartedLinks: featuredLinks:
- /insights/installing-and-configuring-github-insights/about-github-insights gettingStarted:
- /insights/installing-and-configuring-github-insights/system-overview-for-github-insights - /insights/installing-and-configuring-github-insights/about-github-insights
- /insights/installing-and-configuring-github-insights/installing-github-insights - /insights/installing-and-configuring-github-insights/system-overview-for-github-insights
- /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports - /insights/installing-and-configuring-github-insights/installing-github-insights
popularLinks: - /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports
- /insights/installing-and-configuring-github-insights/about-data-in-github-insights popular:
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights - /insights/installing-and-configuring-github-insights/about-data-in-github-insights
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights
redirect_from: redirect_from:
- /github/installing-and-configuring-github-insights - /github/installing-and-configuring-github-insights
versions: versions:

View File

@@ -2,18 +2,19 @@
title: Documentación de GitHub Packages title: Documentación de GitHub Packages
shortTitle: Paquetes de GitHub shortTitle: Paquetes de GitHub
intro: 'Aprende a publicar y consumir paquetes de forma segura, almacena tus paquetes junto con tu código y comparte tus paquetes de forma privada con tu equipo o de manera pública con la comunidad de código abierto. También puedes automatizar tus paquetes con {% data variables.product.prodname_actions %}.' intro: 'Aprende a publicar y consumir paquetes de forma segura, almacena tus paquetes junto con tu código y comparte tus paquetes de forma privada con tu equipo o de manera pública con la comunidad de código abierto. También puedes automatizar tus paquetes con {% data variables.product.prodname_actions %}.'
gettingStartedLinks: featuredLinks:
- /packages/publishing-and-managing-packages/about-github-packages gettingStarted:
- /packages/getting-started-with-github-container-registry/about-github-container-registry - /packages/publishing-and-managing-packages/about-github-packages
- /packages/getting-started-with-github-container-registry - /packages/getting-started-with-github-container-registry/about-github-container-registry
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/getting-started-with-github-container-registry
- /packages/publishing-and-managing-packages/publishing-a-package - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/publishing-and-managing-packages/installing-a-package - /packages/publishing-and-managing-packages/publishing-a-package
popularLinks: - /packages/publishing-and-managing-packages/installing-a-package
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages popular:
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages - /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions
redirect_from: redirect_from:
- /github/managing-packages-with-github-packages - /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry - /categories/managing-packages-with-github-package-registry

View File

@@ -2,15 +2,16 @@
title: GitHub Actionsのドキュメント title: GitHub Actionsのドキュメント
shortTitle: GitHub Actions shortTitle: GitHub Actions
intro: '{% data variables.product.prodname_actions %}で、ソフトウェア開発ワークフローをリポジトリの中で自動化、カスタマイズ実行しましょう。 CI/CDを含む好きなジョブを実行してくれるアクションを、見つけたり、作成したり、共有したり、完全にカスタマイズされたワークフロー中でアクションを組み合わせたりできます。' intro: '{% data variables.product.prodname_actions %}で、ソフトウェア開発ワークフローをリポジトリの中で自動化、カスタマイズ実行しましょう。 CI/CDを含む好きなジョブを実行してくれるアクションを、見つけたり、作成したり、共有したり、完全にカスタマイズされたワークフロー中でアクションを組み合わせたりできます。'
gettingStartedLinks: featuredLinks:
- /actions/quickstart gettingStarted:
- /actions/learn-github-actions - /actions/quickstart
guideLinks: - /actions/learn-github-actions
- /actions/managing-workflow-runs guide:
- /actions/hosting-your-own-runners - /actions/managing-workflow-runs
popularLinks: - /actions/hosting-your-own-runners
- /actions/reference/workflow-syntax-for-github-actions popular:
- /actions/reference/events-that-trigger-workflows - /actions/reference/workflow-syntax-for-github-actions
- /actions/reference/events-that-trigger-workflows
redirect_from: redirect_from:
- /articles/automating-your-workflow-with-github-actions/ - /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/ - /articles/customizing-your-project-with-github-actions/
@@ -39,7 +40,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -50,7 +51,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -61,7 +62,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in guideLinks %} {% for link in featuredLinks.guide %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -1,16 +1,17 @@
--- ---
title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation' title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation'
gettingStartedLinks: featuredLinks:
- /github/getting-started-with-github/set-up-git gettingStarted:
- /github/authenticating-to-github/connecting-to-github-with-ssh - /github/getting-started-with-github/set-up-git
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github - /github/authenticating-to-github/connecting-to-github-with-ssh
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github
popularLinks: - /github/writing-on-github/basic-writing-and-formatting-syntax
- /github/collaborating-with-issues-and-pull-requests/about-pull-requests popular:
- /github/authenticating-to-github - /github/collaborating-with-issues-and-pull-requests/about-pull-requests
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line - /github/authenticating-to-github
- /github/using-git/managing-remote-repositories - /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/working-with-github-pages - /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions: '*' versions: '*'
--- ---

View File

@@ -2,14 +2,15 @@
title: GitHub Insightsのドキュメント title: GitHub Insightsのドキュメント
shortTitle: GitHub Insights shortTitle: GitHub Insights
intro: '{% data variables.product.prodname_insights %}とデータを通じてソフトウェアのデリバリプロセスを理解し、改善してください。 {% data variables.product.prodname_enterprise %}空のデータに基づくカスタマイズされたレポートを見ることができます。' intro: '{% data variables.product.prodname_insights %}とデータを通じてソフトウェアのデリバリプロセスを理解し、改善してください。 {% data variables.product.prodname_enterprise %}空のデータに基づくカスタマイズされたレポートを見ることができます。'
gettingStartedLinks: featuredLinks:
- /insights/installing-and-configuring-github-insights/about-github-insights gettingStarted:
- /insights/installing-and-configuring-github-insights/system-overview-for-github-insights - /insights/installing-and-configuring-github-insights/about-github-insights
- /insights/installing-and-configuring-github-insights/installing-github-insights - /insights/installing-and-configuring-github-insights/system-overview-for-github-insights
- /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports - /insights/installing-and-configuring-github-insights/installing-github-insights
popularLinks: - /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports
- /insights/installing-and-configuring-github-insights/about-data-in-github-insights popular:
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights - /insights/installing-and-configuring-github-insights/about-data-in-github-insights
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights
redirect_from: redirect_from:
- /github/installing-and-configuring-github-insights - /github/installing-and-configuring-github-insights
versions: versions:

View File

@@ -2,18 +2,19 @@
title: GitHub Packagesのドキュメント title: GitHub Packagesのドキュメント
shortTitle: GitHub Packages shortTitle: GitHub Packages
intro: '安全にパッケージを公開及び利用し、コードと共にパッケージを保存し、パッケージをTeamとプライベートに、あるいはオープンソースコミュニティとパブリックに共有してください。 また、{% data variables.product.prodname_actions %}とパッケージを自動化することもできます。' intro: '安全にパッケージを公開及び利用し、コードと共にパッケージを保存し、パッケージをTeamとプライベートに、あるいはオープンソースコミュニティとパブリックに共有してください。 また、{% data variables.product.prodname_actions %}とパッケージを自動化することもできます。'
gettingStartedLinks: featuredLinks:
- /packages/publishing-and-managing-packages/about-github-packages gettingStarted:
- /packages/getting-started-with-github-container-registry/about-github-container-registry - /packages/publishing-and-managing-packages/about-github-packages
- /packages/getting-started-with-github-container-registry - /packages/getting-started-with-github-container-registry/about-github-container-registry
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/getting-started-with-github-container-registry
- /packages/publishing-and-managing-packages/publishing-a-package - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/publishing-and-managing-packages/installing-a-package - /packages/publishing-and-managing-packages/publishing-a-package
popularLinks: - /packages/publishing-and-managing-packages/installing-a-package
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages popular:
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages - /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions
redirect_from: redirect_from:
- /github/managing-packages-with-github-packages - /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry - /categories/managing-packages-with-github-package-registry

View File

@@ -2,15 +2,16 @@
title: GitHub Actions Documentation title: GitHub Actions Documentation
shortTitle: GitHub Actions shortTitle: GitHub Actions
intro: 'Automate, customize, and execute your software development workflows right in your repository with {% data variables.product.prodname_actions %}. You can discover, create, and share actions to perform any job you''d like, including CI/CD, and combine actions in a completely customized workflow.' intro: 'Automate, customize, and execute your software development workflows right in your repository with {% data variables.product.prodname_actions %}. You can discover, create, and share actions to perform any job you''d like, including CI/CD, and combine actions in a completely customized workflow.'
gettingStartedLinks: featuredLinks:
- /actions/quickstart gettingStarted:
- /actions/learn-github-actions - /actions/quickstart
guideLinks: - /actions/learn-github-actions
- /actions/managing-workflow-runs guide:
- /actions/hosting-your-own-runners - /actions/managing-workflow-runs
popularLinks: - /actions/hosting-your-own-runners
- /actions/reference/workflow-syntax-for-github-actions popular:
- /actions/reference/events-that-trigger-workflows - /actions/reference/workflow-syntax-for-github-actions
- /actions/reference/events-that-trigger-workflows
redirect_from: redirect_from:
- /articles/automating-your-workflow-with-github-actions/ - /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/ - /articles/customizing-your-project-with-github-actions/
@@ -39,7 +40,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -50,7 +51,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -61,7 +62,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in guideLinks %} {% for link in featuredLinks.guide %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -1,16 +1,17 @@
--- ---
title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation' title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation'
gettingStartedLinks: featuredLinks:
- /github/getting-started-with-github/set-up-git gettingStarted:
- /github/authenticating-to-github/connecting-to-github-with-ssh - /github/getting-started-with-github/set-up-git
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github - /github/authenticating-to-github/connecting-to-github-with-ssh
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github
popularLinks: - /github/writing-on-github/basic-writing-and-formatting-syntax
- /github/collaborating-with-issues-and-pull-requests/about-pull-requests popular:
- /github/authenticating-to-github - /github/collaborating-with-issues-and-pull-requests/about-pull-requests
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line - /github/authenticating-to-github
- /github/using-git/managing-remote-repositories - /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/working-with-github-pages - /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions: '*' versions: '*'
--- ---

View File

@@ -2,14 +2,15 @@
title: GitHub Insights Documentation title: GitHub Insights Documentation
shortTitle: GitHub Insights shortTitle: GitHub Insights
intro: 'Understand and improve your software delivery process through data with {% data variables.product.prodname_insights %}. You can view customized reports based on data from {% data variables.product.prodname_enterprise %}.' intro: 'Understand and improve your software delivery process through data with {% data variables.product.prodname_insights %}. You can view customized reports based on data from {% data variables.product.prodname_enterprise %}.'
gettingStartedLinks: featuredLinks:
- /insights/installing-and-configuring-github-insights/about-github-insights gettingStarted:
- /insights/installing-and-configuring-github-insights/system-overview-for-github-insights - /insights/installing-and-configuring-github-insights/about-github-insights
- /insights/installing-and-configuring-github-insights/installing-github-insights - /insights/installing-and-configuring-github-insights/system-overview-for-github-insights
- /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports - /insights/installing-and-configuring-github-insights/installing-github-insights
popularLinks: - /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports
- /insights/installing-and-configuring-github-insights/about-data-in-github-insights popular:
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights - /insights/installing-and-configuring-github-insights/about-data-in-github-insights
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights
redirect_from: redirect_from:
- /github/installing-and-configuring-github-insights - /github/installing-and-configuring-github-insights
versions: versions:

View File

@@ -2,18 +2,19 @@
title: GitHub Packages Documentation title: GitHub Packages Documentation
shortTitle: GitHub Packages shortTitle: GitHub Packages
intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.' intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.'
gettingStartedLinks: featuredLinks:
- /packages/publishing-and-managing-packages/about-github-packages gettingStarted:
- /packages/getting-started-with-github-container-registry/about-github-container-registry - /packages/publishing-and-managing-packages/about-github-packages
- /packages/getting-started-with-github-container-registry - /packages/getting-started-with-github-container-registry/about-github-container-registry
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/getting-started-with-github-container-registry
- /packages/publishing-and-managing-packages/publishing-a-package - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/publishing-and-managing-packages/installing-a-package - /packages/publishing-and-managing-packages/publishing-a-package
popularLinks: - /packages/publishing-and-managing-packages/installing-a-package
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages popular:
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages - /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions
redirect_from: redirect_from:
- /github/managing-packages-with-github-packages - /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry - /categories/managing-packages-with-github-package-registry

View File

@@ -2,15 +2,16 @@
title: Documentação do GitHub Actions title: Documentação do GitHub Actions
shortTitle: GitHub Actions shortTitle: GitHub Actions
intro: 'Automatize, personalize e execute seus fluxos de trabalho de desenvolvimento do software diretamente no seu repositório com o {% data variables.product.prodname_actions %}. Você pode descobrir, criar e compartilhar ações para realizar qualquer trabalho que desejar, incluindo CI/CD, bem como combinar ações em um fluxo de trabalho completamente personalizado.' intro: 'Automatize, personalize e execute seus fluxos de trabalho de desenvolvimento do software diretamente no seu repositório com o {% data variables.product.prodname_actions %}. Você pode descobrir, criar e compartilhar ações para realizar qualquer trabalho que desejar, incluindo CI/CD, bem como combinar ações em um fluxo de trabalho completamente personalizado.'
gettingStartedLinks: featuredLinks:
- /actions/quickstart gettingStarted:
- /actions/learn-github-actions - /actions/quickstart
guideLinks: - /actions/learn-github-actions
- /actions/managing-workflow-runs guide:
- /actions/hosting-your-own-runners - /actions/managing-workflow-runs
popularLinks: - /actions/hosting-your-own-runners
- /actions/reference/workflow-syntax-for-github-actions popular:
- /actions/reference/events-that-trigger-workflows - /actions/reference/workflow-syntax-for-github-actions
- /actions/reference/events-that-trigger-workflows
redirect_from: redirect_from:
- /articles/automating-your-workflow-with-github-actions/ - /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/ - /articles/customizing-your-project-with-github-actions/
@@ -39,7 +40,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -50,7 +51,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -61,7 +62,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Gerenciar fluxos de trabalho</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Gerenciar fluxos de trabalho</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in guideLinks %} {% for link in featuredLinks.guide %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -1,16 +1,17 @@
--- ---
title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Documentação de ajuda' title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Documentação de ajuda'
gettingStartedLinks: featuredLinks:
- /github/getting-started-with-github/set-up-git gettingStarted:
- /github/authenticating-to-github/connecting-to-github-with-ssh - /github/getting-started-with-github/set-up-git
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github - /github/authenticating-to-github/connecting-to-github-with-ssh
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github
popularLinks: - /github/writing-on-github/basic-writing-and-formatting-syntax
- /github/collaborating-with-issues-and-pull-requests/about-pull-requests popular:
- /github/authenticating-to-github - /github/collaborating-with-issues-and-pull-requests/about-pull-requests
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line - /github/authenticating-to-github
- /github/using-git/managing-remote-repositories - /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/working-with-github-pages - /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions: '*' versions: '*'
--- ---

View File

@@ -2,14 +2,15 @@
title: Documentação do GitHub Insights title: Documentação do GitHub Insights
shortTitle: GitHub Insights shortTitle: GitHub Insights
intro: 'Entenda e melhore seu processo de entrega de software por meio de dados com o {% data variables.product.prodname_insights %}. Você pode visualizar relatórios personalizados com base em dados do {% data variables.product.prodname_enterprise %}.' intro: 'Entenda e melhore seu processo de entrega de software por meio de dados com o {% data variables.product.prodname_insights %}. Você pode visualizar relatórios personalizados com base em dados do {% data variables.product.prodname_enterprise %}.'
gettingStartedLinks: featuredLinks:
- /insights/installing-and-configuring-github-insights/about-github-insights gettingStarted:
- /insights/installing-and-configuring-github-insights/system-overview-for-github-insights - /insights/installing-and-configuring-github-insights/about-github-insights
- /insights/installing-and-configuring-github-insights/installing-github-insights - /insights/installing-and-configuring-github-insights/system-overview-for-github-insights
- /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports - /insights/installing-and-configuring-github-insights/installing-github-insights
popularLinks: - /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports
- /insights/installing-and-configuring-github-insights/about-data-in-github-insights popular:
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights - /insights/installing-and-configuring-github-insights/about-data-in-github-insights
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights
redirect_from: redirect_from:
- /github/installing-and-configuring-github-insights - /github/installing-and-configuring-github-insights
versions: versions:

View File

@@ -2,18 +2,19 @@
title: Documentação de GitHub Packages title: Documentação de GitHub Packages
shortTitle: GitHub Package Registry shortTitle: GitHub Package Registry
intro: 'Aprenda a publicar e consumir com segurança pacotes, armazene seus pacotes junto com o seu código e compartilhe seus pacotes de forma privada com sua equipe ou publicamente com a comunidade de código aberto. Você também pode automatizar seus pacotes com {% data variables.product.prodname_actions %}.' intro: 'Aprenda a publicar e consumir com segurança pacotes, armazene seus pacotes junto com o seu código e compartilhe seus pacotes de forma privada com sua equipe ou publicamente com a comunidade de código aberto. Você também pode automatizar seus pacotes com {% data variables.product.prodname_actions %}.'
gettingStartedLinks: featuredLinks:
- /packages/publishing-and-managing-packages/about-github-packages gettingStarted:
- /packages/getting-started-with-github-container-registry/about-github-container-registry - /packages/publishing-and-managing-packages/about-github-packages
- /packages/getting-started-with-github-container-registry - /packages/getting-started-with-github-container-registry/about-github-container-registry
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/getting-started-with-github-container-registry
- /packages/publishing-and-managing-packages/publishing-a-package - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/publishing-and-managing-packages/installing-a-package - /packages/publishing-and-managing-packages/publishing-a-package
popularLinks: - /packages/publishing-and-managing-packages/installing-a-package
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages popular:
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages - /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions
redirect_from: redirect_from:
- /github/managing-packages-with-github-packages - /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry - /categories/managing-packages-with-github-package-registry

View File

@@ -2,15 +2,16 @@
title: GitHub Actions Documentation title: GitHub Actions Documentation
shortTitle: GitHub Actions shortTitle: GitHub Actions
intro: 'Automate, customize, and execute your software development workflows right in your repository with {% data variables.product.prodname_actions %}. You can discover, create, and share actions to perform any job you''d like, including CI/CD, and combine actions in a completely customized workflow.' intro: 'Automate, customize, and execute your software development workflows right in your repository with {% data variables.product.prodname_actions %}. You can discover, create, and share actions to perform any job you''d like, including CI/CD, and combine actions in a completely customized workflow.'
gettingStartedLinks: featuredLinks:
- /actions/quickstart gettingStarted:
- /actions/learn-github-actions - /actions/quickstart
guideLinks: - /actions/learn-github-actions
- /actions/managing-workflow-runs guide:
- /actions/hosting-your-own-runners - /actions/managing-workflow-runs
popularLinks: - /actions/hosting-your-own-runners
- /actions/reference/workflow-syntax-for-github-actions popular:
- /actions/reference/events-that-trigger-workflows - /actions/reference/workflow-syntax-for-github-actions
- /actions/reference/events-that-trigger-workflows
redirect_from: redirect_from:
- /articles/automating-your-workflow-with-github-actions/ - /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/ - /articles/customizing-your-project-with-github-actions/
@@ -39,7 +40,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -50,7 +51,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -61,7 +62,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in guideLinks %} {% for link in featuredLinks.guide %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -1,16 +1,17 @@
--- ---
title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation' title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} Help Documentation'
gettingStartedLinks: featuredLinks:
- /github/getting-started-with-github/set-up-git gettingStarted:
- /github/authenticating-to-github/connecting-to-github-with-ssh - /github/getting-started-with-github/set-up-git
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github - /github/authenticating-to-github/connecting-to-github-with-ssh
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github
popularLinks: - /github/writing-on-github/basic-writing-and-formatting-syntax
- /github/collaborating-with-issues-and-pull-requests/about-pull-requests popular:
- /github/authenticating-to-github - /github/collaborating-with-issues-and-pull-requests/about-pull-requests
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line - /github/authenticating-to-github
- /github/using-git/managing-remote-repositories - /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/working-with-github-pages - /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions: '*' versions: '*'
--- ---

View File

@@ -2,14 +2,15 @@
title: GitHub Insights Documentation title: GitHub Insights Documentation
shortTitle: GitHub Insights shortTitle: GitHub Insights
intro: 'Understand and improve your software delivery process through data with {% data variables.product.prodname_insights %}. You can view customized reports based on data from {% data variables.product.prodname_enterprise %}.' intro: 'Understand and improve your software delivery process through data with {% data variables.product.prodname_insights %}. You can view customized reports based on data from {% data variables.product.prodname_enterprise %}.'
gettingStartedLinks: featuredLinks:
- /insights/installing-and-configuring-github-insights/about-github-insights gettingStarted:
- /insights/installing-and-configuring-github-insights/system-overview-for-github-insights - /insights/installing-and-configuring-github-insights/about-github-insights
- /insights/installing-and-configuring-github-insights/installing-github-insights - /insights/installing-and-configuring-github-insights/system-overview-for-github-insights
- /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports - /insights/installing-and-configuring-github-insights/installing-github-insights
popularLinks: - /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports
- /insights/installing-and-configuring-github-insights/about-data-in-github-insights popular:
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights - /insights/installing-and-configuring-github-insights/about-data-in-github-insights
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights
redirect_from: redirect_from:
- /github/installing-and-configuring-github-insights - /github/installing-and-configuring-github-insights
versions: versions:

View File

@@ -2,18 +2,19 @@
title: GitHub Packages Documentation title: GitHub Packages Documentation
shortTitle: GitHub Packages shortTitle: GitHub Packages
intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.' intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.'
gettingStartedLinks: featuredLinks:
- /packages/publishing-and-managing-packages/about-github-packages gettingStarted:
- /packages/getting-started-with-github-container-registry/about-github-container-registry - /packages/publishing-and-managing-packages/about-github-packages
- /packages/getting-started-with-github-container-registry - /packages/getting-started-with-github-container-registry/about-github-container-registry
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/getting-started-with-github-container-registry
- /packages/publishing-and-managing-packages/publishing-a-package - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/publishing-and-managing-packages/installing-a-package - /packages/publishing-and-managing-packages/publishing-a-package
popularLinks: - /packages/publishing-and-managing-packages/installing-a-package
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages popular:
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages - /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions
redirect_from: redirect_from:
- /github/managing-packages-with-github-packages - /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry - /categories/managing-packages-with-github-package-registry

View File

@@ -2,15 +2,16 @@
title: GitHub Actions文档 title: GitHub Actions文档
shortTitle: GitHub Actions shortTitle: GitHub Actions
intro: '在 {% data variables.product.prodname_actions %} 的仓库中自动化、自定义和执行软件开发工作流程。 您可以发现、创建和共享操作以执行您喜欢的任何作业(包括 CI/CD并将操作合并到完全自定义的工作流程中。' intro: '在 {% data variables.product.prodname_actions %} 的仓库中自动化、自定义和执行软件开发工作流程。 您可以发现、创建和共享操作以执行您喜欢的任何作业(包括 CI/CD并将操作合并到完全自定义的工作流程中。'
gettingStartedLinks: featuredLinks:
- /actions/quickstart gettingStarted:
- /actions/learn-github-actions - /actions/quickstart
guideLinks: - /actions/learn-github-actions
- /actions/managing-workflow-runs guide:
- /actions/hosting-your-own-runners - /actions/managing-workflow-runs
popularLinks: - /actions/hosting-your-own-runners
- /actions/reference/workflow-syntax-for-github-actions popular:
- /actions/reference/events-that-trigger-workflows - /actions/reference/workflow-syntax-for-github-actions
- /actions/reference/events-that-trigger-workflows
redirect_from: redirect_from:
- /articles/automating-your-workflow-with-github-actions/ - /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/ - /articles/customizing-your-project-with-github-actions/
@@ -39,7 +40,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in gettingStartedLinks %} {% for link in featuredLinks.gettingStarted %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -50,7 +51,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.popular_articles %}</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in popularLinks %} {% for link in featuredLinks.popular %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@@ -61,7 +62,7 @@ versions:
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">管理工作流程</h3> <h3 class="f5 text-normal text-mono underline-dashed color-gray-5">管理工作流程</h3>
</div> </div>
<ul class="list-style-none"> <ul class="list-style-none">
{% for link in guideLinks %} {% for link in featuredLinks.guide %}
<li>{% include featured-link %}</li> <li>{% include featured-link %}</li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -1,16 +1,17 @@
--- ---
title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} 帮助文档' title: '{% data variables.product.product_name %}{% if currentVersion == "free-pro-team@latest" %}.com{% endif %} 帮助文档'
gettingStartedLinks: featuredLinks:
- /github/getting-started-with-github/set-up-git gettingStarted:
- /github/authenticating-to-github/connecting-to-github-with-ssh - /github/getting-started-with-github/set-up-git
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github - /github/authenticating-to-github/connecting-to-github-with-ssh
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github
popularLinks: - /github/writing-on-github/basic-writing-and-formatting-syntax
- /github/collaborating-with-issues-and-pull-requests/about-pull-requests popular:
- /github/authenticating-to-github - /github/collaborating-with-issues-and-pull-requests/about-pull-requests
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line - /github/authenticating-to-github
- /github/using-git/managing-remote-repositories - /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/working-with-github-pages - /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions: '*' versions: '*'
--- ---

View File

@@ -2,14 +2,15 @@
title: GitHub Insights 文档 title: GitHub Insights 文档
shortTitle: GitHub Insights shortTitle: GitHub Insights
intro: '通过 {% data variables.product.prodname_insights %} 的数据了解和改进软件交付过程。 您可以从 {% data variables.product.prodname_enterprise %} 查看基于数据的自定义报告。' intro: '通过 {% data variables.product.prodname_insights %} 的数据了解和改进软件交付过程。 您可以从 {% data variables.product.prodname_enterprise %} 查看基于数据的自定义报告。'
gettingStartedLinks: featuredLinks:
- /insights/installing-and-configuring-github-insights/about-github-insights gettingStarted:
- /insights/installing-and-configuring-github-insights/system-overview-for-github-insights - /insights/installing-and-configuring-github-insights/about-github-insights
- /insights/installing-and-configuring-github-insights/installing-github-insights - /insights/installing-and-configuring-github-insights/system-overview-for-github-insights
- /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports - /insights/installing-and-configuring-github-insights/installing-github-insights
popularLinks: - /insights/exploring-your-usage-of-github-enterprise/viewing-key-metrics-and-reports
- /insights/installing-and-configuring-github-insights/about-data-in-github-insights popular:
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights - /insights/installing-and-configuring-github-insights/about-data-in-github-insights
- /insights/exploring-your-usage-of-github-enterprise/metrics-available-with-github-insights
redirect_from: redirect_from:
- /github/installing-and-configuring-github-insights - /github/installing-and-configuring-github-insights
versions: versions:

View File

@@ -2,18 +2,19 @@
title: GitHub 包文档 title: GitHub 包文档
shortTitle: GitHub Packages shortTitle: GitHub Packages
intro: '了解如何安全地发布和使用包,将包与代码存储在一起,以及与您的团队私下分享或与开源社区公开分享您的包。 还可以使用 {% data variables.product.prodname_actions %} 自动执行您的包。' intro: '了解如何安全地发布和使用包,将包与代码存储在一起,以及与您的团队私下分享或与开源社区公开分享您的包。 还可以使用 {% data variables.product.prodname_actions %} 自动执行您的包。'
gettingStartedLinks: featuredLinks:
- /packages/publishing-and-managing-packages/about-github-packages gettingStarted:
- /packages/getting-started-with-github-container-registry/about-github-container-registry - /packages/publishing-and-managing-packages/about-github-packages
- /packages/getting-started-with-github-container-registry - /packages/getting-started-with-github-container-registry/about-github-container-registry
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/getting-started-with-github-container-registry
- /packages/publishing-and-managing-packages/publishing-a-package - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/publishing-and-managing-packages/installing-a-package - /packages/publishing-and-managing-packages/publishing-a-package
popularLinks: - /packages/publishing-and-managing-packages/installing-a-package
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages popular:
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages - /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
- /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images - /packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions - /packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images
- /packages/using-github-packages-with-your-projects-ecosystem/using-github-packages-with-github-actions
redirect_from: redirect_from:
- /github/managing-packages-with-github-packages - /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry - /categories/managing-packages-with-github-package-registry