Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/admin/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: GitHub Enterprise Documentation
shortTitle: GitHub Enterprise
title: Enterprise administrator documentation
shortTitle: Enterprise administrators
intro: 'Documentation and guides for enterprise administrators, system administrators, and security specialists who {% if enterpriseServerVersions contains currentVersion %}deploy, {% endif %}configure{% if enterpriseServerVersions contains currentVersion %},{% endif %} and manage {% data variables.product.product_name %}.'
introLinks:
overview: '{% if enterpriseServerVersions contains currentVersion %}/admin/overview/system-overview{% elsif currentVersion == "github-ae@latest" %}/admin/overview/about-github-ae{% endif %}'
Expand Down
2 changes: 1 addition & 1 deletion tests/rendering/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe('header', () => {

const ghe = $(`#homepages a[href="/en/enterprise-server@${latest}/admin"]`)
expect(ghe.length).toBe(1)
expect(ghe.text().trim()).toBe('GitHub Enterprise')
expect(ghe.text().trim()).toBe('Enterprise administrators')
expect(ghe.attr('class').includes('active')).toBe(false)
})

Expand Down
2 changes: 1 addition & 1 deletion tests/rendering/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('sidebar', () => {

test('highlights active product on Enterprise pages', async () => {
expect($enterprisePage('.sidebar-products li.sidebar-product').length).toBe(1)
expect($enterprisePage('.sidebar-products li.sidebar-product > a').text().trim()).toBe('GitHub Enterprise')
expect($enterprisePage('.sidebar-products li.sidebar-product > a').text().trim()).toBe('Enterprise administrators')
})

test('highlights active product on GitHub pages', async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/products.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('mobile-only products nav', () => {
expect((await getDOM('/github'))('#current-product').text().trim()).toBe('GitHub.com')

// Enterprise server
expect((await getDOM('/en/enterprise/admin'))('#current-product').text().trim()).toBe('GitHub Enterprise')
expect((await getDOM('/en/enterprise/admin'))('#current-product').text().trim()).toBe('Enterprise administrators')
expect((await getDOM('/en/enterprise/user/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address'))('#current-product').text().trim()).toBe('GitHub.com')

expect((await getDOM('/desktop'))('#current-product').text().trim()).toBe('GitHub Desktop')
Expand Down