Skip to content

Commit 8805e3e

Browse files
lecoursenCopilotisaacmbrown
authored
Remove "Enterprise administrators" Guides page (#59931)
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
1 parent 8af1123 commit 8805e3e

File tree

4 files changed

+5
-146
lines changed

4 files changed

+5
-146
lines changed

content/admin/guides.md

Lines changed: 0 additions & 138 deletions
This file was deleted.

content/admin/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ redirect_from:
6363
- /insights/installing-and-configuring-github-insights/managing-data-in-github-insights/managing-organizations
6464
- /insights/installing-and-configuring-github-insights/managing-data-in-github-insights/managing-repositories
6565
- /admin/configuration/configuring-your-enterprise/configuring-data-encryption-for-your-enterprise
66+
- /admin/guides
6667
introLinks:
6768
overview: '{% ifversion ghes %}/admin/overview/about-github-enterprise-server{% elsif ghec %}/admin/overview/about-github-enterprise-cloud{% endif %}'
6869
releases: '{% ifversion ghes %}/admin/all-releases{% endif %}'
@@ -116,7 +117,6 @@ children:
116117
- /managing-github-actions-for-your-enterprise
117118
- /configuring-packages
118119
- /managing-code-security
119-
- /guides
120120
- /release-notes
121121
- /all-releases
122122
---

content/admin/managing-your-enterprise-account/creating-an-enterprise-account.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The following changes also apply to single organizations that are automatically
7070

7171
## Next steps
7272

73-
Follow the [Get started with your enterprise account](/admin/guides#get-started-with-your-enterprise-account) learning path.
73+
Set up your new enterprise with our [AUTOTITLE](/enterprise-cloud@latest/enterprise-onboarding) journey for {% data variables.product.prodname_ghe_cloud %}.
7474

7575
## Further reading
7676

src/redirects/tests/redirects.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import enterpriseServerReleases, {
99
} from '@/versions/lib/enterprise-server-releases'
1010
import Page from '@/frame/lib/page'
1111
import { get, head } from '@/tests/helpers/e2etest'
12-
import versionSatisfiesRange from '@/versions/lib/version-satisfies-range'
1312

1413
const __dirname = path.dirname(fileURLToPath(import.meta.url))
1514

@@ -262,11 +261,9 @@ describe('redirects', () => {
262261
expect(res.statusCode).toBe(200)
263262
})
264263

265-
test('no version plus admin/guides redirects to the right place on latest version', async () => {
266-
const shouldRedirect = versionSatisfiesRange(latest, `<${firstRestoredAdminGuides}`)
267-
const expectedStatusCode = shouldRedirect ? 301 : 200
268-
const res = await get(`/en/enterprise-server@${latest}/admin/guides`)
269-
expect(res.statusCode).toBe(expectedStatusCode)
264+
test('admin/overview returns 200 on latest version', async () => {
265+
const res = await get(`/en/enterprise-server@${latest}/admin/overview`)
266+
expect(res.statusCode).toBe(200)
270267
})
271268

272269
test('admin/guides redirects to admin in deep links on <2.21', async () => {

0 commit comments

Comments
 (0)