ran script/content-migrations/use-short-versions.js
This commit is contained in:
@@ -7,9 +7,9 @@ redirect_from:
|
||||
- /articles/about-webhooks
|
||||
intro: Webhooks provide a way for notifications to be delivered to an external web server whenever certain actions occur on a repository or organization.
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
---
|
||||
|
||||
{% tip %}
|
||||
|
||||
@@ -3,9 +3,9 @@ title: Getting started with the API
|
||||
redirect_from:
|
||||
- /articles/getting-started-with-the-api
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
---
|
||||
|
||||
To automate common tasks, back up your data, or create integrations that extend {% data variables.product.product_name %}, you can use the {% data variables.product.product_name %} API.
|
||||
@@ -14,5 +14,5 @@ For more information about the API, see the [GitHub REST API](/rest) and [GitHub
|
||||
|
||||
## Further reading
|
||||
|
||||
- "[Backing up a repository](/articles/backing-up-a-repository)"{% if currentVersion == "free-pro-team@latest" %}
|
||||
- "[Backing up a repository](/articles/backing-up-a-repository)"{% ifversion fpt %}
|
||||
- "[About integrations](/articles/about-integrations)"{% endif %}
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/git-automation-with-oauth-tokens
|
||||
intro: 'You can use OAuth tokens to interact with {% data variables.product.product_name %} via automated scripts.'
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
---
|
||||
|
||||
## Step 1: Get an OAuth token
|
||||
@@ -17,7 +17,7 @@ Create a personal access token on your application settings page. For more infor
|
||||
|
||||
{% tip %}
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
{% ifversion fpt %}
|
||||
**Tips:**
|
||||
- You must verify your email address before you can create a personal access token. For more information, see "[Verifying your email address](/articles/verifying-your-email-address)."
|
||||
- {% data reusables.user_settings.review_oauth_tokens_tip %}
|
||||
@@ -27,7 +27,7 @@ Create a personal access token on your application settings page. For more infor
|
||||
|
||||
{% endtip %}
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}{% data reusables.user_settings.removes-personal-access-tokens %}{% endif %}
|
||||
{% ifversion fpt %}{% data reusables.user_settings.removes-personal-access-tokens %}{% endif %}
|
||||
|
||||
## Step 2: Clone a repository
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@ redirect_from:
|
||||
- /categories/automation/
|
||||
- /categories/extending-github
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
children:
|
||||
- /getting-started-with-the-api
|
||||
- /git-automation-with-oauth-tokens
|
||||
|
||||
Reference in New Issue
Block a user