1
0
mirror of synced 2025-12-21 02:46:50 -05:00

remove all uses of include tool-switcher (part 1) (#24220)

* remove all uses of `include tool-switcher`

* two more files
This commit is contained in:
Peter Bengtsson
2022-01-11 16:31:12 -05:00
committed by GitHub
parent 6e1bf63489
commit 8e25d1e40d
14 changed files with 20 additions and 61 deletions

View File

@@ -31,8 +31,6 @@ You can also disable and enable a workflow using the REST API. For more informat
## Disabling a workflow ## Disabling a workflow
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-repo %}
@@ -62,8 +60,6 @@ gh workflow disable <em>workflow</em>
## Enabling a workflow ## Enabling a workflow
{% include tool-switcher %}
{% webui %} {% webui %}
You can re-enable a workflow that was previously disabled. You can re-enable a workflow that was previously disabled.

View File

@@ -16,8 +16,6 @@ By default, {% data variables.product.product_name %} stores build logs and arti
{% data reusables.repositories.permissions-statement-read %} {% data reusables.repositories.permissions-statement-read %}
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-repo %}

View File

@@ -20,8 +20,6 @@ To run a workflow manually, the workflow must be configured to run on the `workf
## Running a workflow ## Running a workflow
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-repo %}

View File

@@ -19,8 +19,6 @@ versions:
Re-running a workflow uses the same `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (Git ref) of the original event that triggered the workflow run. You can re-run a workflow for up to 30 days after the initial run. Re-running a workflow uses the same `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (Git ref) of the original event that triggered the workflow run. You can re-run a workflow for up to 30 days after the initial run.
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-repo %}

View File

@@ -16,8 +16,6 @@ shortTitle: View workflow run history
{% data reusables.repositories.permissions-statement-read %} {% data reusables.repositories.permissions-statement-read %}
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-repo %}

View File

@@ -79,8 +79,6 @@ When generating credentials, we recommend that you grant the minimum permissions
{% data reusables.github-actions.permissions-statement-secrets-repository %} {% data reusables.github-actions.permissions-statement-secrets-repository %}
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-repo %}
@@ -121,8 +119,6 @@ To list all secrets for the repository, use the `gh secret list` subcommand.
{% data reusables.github-actions.permissions-statement-secrets-environment %} {% data reusables.github-actions.permissions-statement-secrets-environment %}
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-repo %}
@@ -160,8 +156,6 @@ When creating a secret in an organization, you can use a policy to limit which r
{% data reusables.github-actions.permissions-statement-secrets-organization %} {% data reusables.github-actions.permissions-statement-secrets-organization %}
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.navigate-to-org %}

View File

@@ -24,7 +24,6 @@ After adding a new SSH key to your account on {% ifversion ghae %}{% data variab
{% mac %} {% mac %}
{% include tool-switcher %}
{% webui %} {% webui %}
1. Copy the SSH public key to your clipboard. 1. Copy the SSH public key to your clipboard.
@@ -59,8 +58,6 @@ After adding a new SSH key to your account on {% ifversion ghae %}{% data variab
{% windows %} {% windows %}
{% include tool-switcher %}
{% webui %} {% webui %}
1. Copy the SSH public key to your clipboard. 1. Copy the SSH public key to your clipboard.
@@ -96,7 +93,6 @@ After adding a new SSH key to your account on {% ifversion ghae %}{% data variab
{% linux %} {% linux %}
{% include tool-switcher %}
{% webui %} {% webui %}
1. Copy the SSH public key to your clipboard. 1. Copy the SSH public key to your clipboard.

View File

@@ -18,8 +18,6 @@ A codespace will stop running after a period of inactivity. You can specify the
{% endwarning %} {% endwarning %}
{% include tool-switcher %}
{% webui %} {% webui %}
## Setting your default timeout ## Setting your default timeout

View File

@@ -67,8 +67,6 @@ If you would like to create a codespace for a repository owned by your personal
## Creating a codespace ## Creating a codespace
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-repo %}

View File

@@ -26,7 +26,6 @@ shortTitle: Delete a codespace
{% endnote %} {% endnote %}
{% include tool-switcher %}
{% webui %} {% webui %}

View File

@@ -29,8 +29,6 @@ You can also forward a port manually, label forwarded ports, share forwarded por
You can manually forward a port that wasn't forwarded automatically. You can manually forward a port that wasn't forwarded automatically.
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.codespaces.navigate-to-ports-tab %} {% data reusables.codespaces.navigate-to-ports-tab %}
@@ -93,8 +91,6 @@ To see details of forwarded ports enter `gh codespace ports` and then choose a c
If you want to share a forwarded port with others, you can either make the port private to your organization or make the port public. After you make a port private to your organization, anyone in the organization with the port's URL can view the running application. After you make a port public, anyone who knows the URL and port number can view the running application without needing to authenticate. If you want to share a forwarded port with others, you can either make the port private to your organization or make the port public. After you make a port private to your organization, anyone in the organization with the port's URL can view the running application. After you make a port public, anyone who knows the URL and port number can view the running application without needing to authenticate.
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.codespaces.navigate-to-ports-tab %} {% data reusables.codespaces.navigate-to-ports-tab %}

View File

@@ -23,8 +23,6 @@ Information on {% data variables.product.prodname_codespaces %} is output to thr
These logs contain detailed information about the codespace, the container, the session, and the {% data variables.product.prodname_vscode %} environment. They are useful for diagnosing connection issues and other unexpected behavior. For example, the codespace freezes but the "Reload Windows" option unfreezes it for a few minutes, or you are randomly disconnected from the codespace but able to reconnect immediately. These logs contain detailed information about the codespace, the container, the session, and the {% data variables.product.prodname_vscode %} environment. They are useful for diagnosing connection issues and other unexpected behavior. For example, the codespace freezes but the "Reload Windows" option unfreezes it for a few minutes, or you are randomly disconnected from the codespace but able to reconnect immediately.
{% include tool-switcher %}
{% webui %} {% webui %}
1. If you are using {% data variables.product.prodname_codespaces %} in the browser, ensure that you are connected to the codespace you want to debug. 1. If you are using {% data variables.product.prodname_codespaces %} in the browser, ensure that you are connected to the codespace you want to debug.
@@ -51,7 +49,6 @@ Currently you can't use {% data variables.product.prodname_cli %} to access thes
These logs contain information about the container, dev container, and their configuration. They are useful for debugging configuration and setup problems. These logs contain information about the container, dev container, and their configuration. They are useful for debugging configuration and setup problems.
{% include tool-switcher %}
{% webui %} {% webui %}

View File

@@ -35,7 +35,6 @@ You've successfully forked the Spoon-Knife repository, but so far, it only exist
You can clone your fork with the command line, {% data variables.product.prodname_cli %}, or {% data variables.product.prodname_desktop %}. You can clone your fork with the command line, {% data variables.product.prodname_cli %}, or {% data variables.product.prodname_desktop %}.
{% include tool-switcher %}
{% webui %} {% webui %}
1. On {% data variables.product.product_name %}, navigate to **your fork** of the Spoon-Knife repository. 1. On {% data variables.product.product_name %}, navigate to **your fork** of the Spoon-Knife repository.
@@ -87,7 +86,6 @@ Go ahead and make a few changes to the project using your favorite text editor,
When you're ready to submit your changes, stage and commit your changes. `git add .` tells Git that you want to include all of your changes in the next commit. `git commit` takes a snapshot of those changes. When you're ready to submit your changes, stage and commit your changes. `git add .` tells Git that you want to include all of your changes in the next commit. `git commit` takes a snapshot of those changes.
{% include tool-switcher %}
{% webui %} {% webui %}
```shell ```shell
@@ -116,7 +114,6 @@ When you stage and commit files, you essentially tell Git, "Okay, take a snapsho
Right now, your changes only exist locally. When you're ready to push your changes up to {% data variables.product.product_name %}, push your changes to the remote. Right now, your changes only exist locally. When you're ready to push your changes up to {% data variables.product.product_name %}, push your changes to the remote.
{% include tool-switcher %}
{% webui %} {% webui %}
```shell ```shell

View File

@@ -39,8 +39,6 @@ You can store a variety of projects in {% data variables.product.product_name %}
{% endif %} {% endif %}
{% include tool-switcher %}
{% webui %} {% webui %}
{% data reusables.repositories.create_new %} {% data reusables.repositories.create_new %}
@@ -69,8 +67,6 @@ Congratulations! You've successfully created your first repository, and initiali
## Commit your first change ## Commit your first change
{% include tool-switcher %}
{% webui %} {% webui %}
A *[commit](/articles/github-glossary#commit)* is like a snapshot of all the files in your project at a particular point in time. A *[commit](/articles/github-glossary#commit)* is like a snapshot of all the files in your project at a particular point in time.