Delete "Resources in the REST API" and move content elsewhere (#47726)
Co-authored-by: Peter Bengtsson <mail@peterbe.com> Co-authored-by: Sarah Edwards <skedwards88@github.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
- /admin/enterprise-support/overview/about-github-premium-support-for-github-enterprise
|
||||
|
||||
# FPT versioning was removed as part of github/docs-content#5166
|
||||
/rest/using-the-rest-api/resources-in-the-rest-api
|
||||
/rest/using-the-rest-api/getting-started-with-the-rest-api
|
||||
- /rest/overview/api-previews
|
||||
|
||||
/enterprise-server@latest/search-github/getting-started-with-searching-on-github/enabling-githubcom-repository-search-from-your-private-enterprise-environment
|
||||
@@ -39,4 +39,4 @@
|
||||
- /github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository
|
||||
|
||||
/billing/managing-your-github-billing-settings/redeeming-a-coupon
|
||||
- /enterprise-cloud@latest/billing/managing-your-github-billing-settings/redeeming-a-coupon
|
||||
- /enterprise-cloud@latest/billing/managing-your-github-billing-settings/redeeming-a-coupon
|
||||
|
||||
@@ -22,7 +22,7 @@ describe('redirect exceptions', () => {
|
||||
`/enterprise-server@${latest}`,
|
||||
)}`
|
||||
const { statusCode, headers } = await get(oldPath, { followRedirects: false })
|
||||
expect(statusCode).toBe(302)
|
||||
expect(statusCode, `Did not get a 302 from loading ${oldPath}`).toBe(302)
|
||||
expect(headers.location).toBe(englishNewPath)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user