Skip to content

Commit

Permalink
Say "Docs" instead of "Documentation" (#36032)
Browse files Browse the repository at this point in the history
  • Loading branch information
heiskr authored Mar 30, 2023
1 parent 0644fdd commit 84dc08e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ We use GitHub Discussions to talk about all sorts of topics related to documenta

If you're having trouble with your GitHub account, contact [Support](https://support.github.com/contact).

That's how you can easily become a member of the GitHub Documentation community. :sparkles:
That's how you can easily become a member of the GitHub Docs community. :sparkles:

## READMEs

Expand Down
2 changes: 1 addition & 1 deletion components/GenericError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function GenericError() {
return (
<div className="min-h-screen d-flex flex-column">
<Head>
<title>GitHub Documentation</title>
<title>GitHub Docs</title>
<meta name="status" content="500" />
</Head>

Expand Down
2 changes: 1 addition & 1 deletion data/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ search:
matches_found: Results found
matches_displayed: Matches displayed
search_error: An error occurred trying to perform the search.
description: Enter a search term to find it in the GitHub Documentation.
description: Enter a search term to find it in the GitHub Docs.
label: Search GitHub Docs
n_results: '{n} results'
one_result: 1 result
Expand Down
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const MyApp = ({ Component, pageProps, languagesContext }: MyAppProps) => {
<>
<Head>
<meta charSet="utf-8" />
<title>GitHub Documentation</title>
<title>GitHub Docs</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

{/* The value in these "/cb-xxxxx" prefixes aren't important. They
Expand Down
4 changes: 2 additions & 2 deletions tests/browser/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const req = {}
describe('homepage', () => {
jest.setTimeout(60 * 1000)

test('should be titled "GitHub Documentation"', async () => {
test('should be titled "GitHub Docs"', async () => {
await page.goto('http://localhost:4000')
await expect(page.title()).resolves.toMatch('GitHub Documentation')
await expect(page.title()).resolves.toMatch('GitHub Docs')
})
})

Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/data/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ search:
matches_found: Results found
matches_displayed: Matches displayed
search_error: An error occurred trying to perform the search.
description: Enter a search term to find it in the GitHub Documentation.
description: Enter a search term to find it in the GitHub Docs.
label: Search GitHub Docs
n_results: '{n} results'
one_result: 1 result
Expand Down
2 changes: 1 addition & 1 deletion tests/rendering-fixtures/playwright-rendering.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const SEARCH_TESTS = !!process.env.ELASTICSEARCH_URL

test('view home page', async ({ page }) => {
await page.goto('/')
await expect(page).toHaveTitle(/GitHub Documentation/)
await expect(page).toHaveTitle(/GitHub Docs/)
})

test('view the for-playwright article', async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/rendering/page-titles.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('page titles', () => {

test('English homepage', async () => {
const $ = await getDOM('/en')
expect($('title').text()).toBe('GitHub Documentation')
expect($('title').text()).toBe('GitHub Docs')
})

test('dotcom English article', async () => {
Expand Down

0 comments on commit 84dc08e

Please sign in to comment.