1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Remove GHAE in Liquid and front matter (7) (#48772)

This commit is contained in:
Peter Bengtsson
2024-01-23 08:12:04 -05:00
committed by GitHub
parent dc3f4de1d7
commit eb9571a80d
125 changed files with 225 additions and 227 deletions

View File

@@ -96,7 +96,7 @@ For example, this script gets all of the issues from the `octocat/Spoon-Knife` r
```javascript copy
import { Octokit } from "octokit";
const octokit = new Octokit({ {% ifversion ghes or ghae %}
const octokit = new Octokit({ {% ifversion ghes %}
baseUrl: "{% data variables.product.api_url_code %}",
{% endif %}});
@@ -123,7 +123,7 @@ The `getPaginatedData` function makes a request to an endpoint with `octokit.req
```javascript copy
import { Octokit } from "octokit";
const octokit = new Octokit({ {% ifversion ghes or ghae %}
const octokit = new Octokit({ {% ifversion ghes %}
baseUrl: "{% data variables.product.api_url_code %}",
{% endif %}});