From 84dc08e016f61477a89acbc2f9cc63e37d2d8977 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Thu, 30 Mar 2023 12:14:42 -0700 Subject: [PATCH] Say "Docs" instead of "Documentation" (#36032) --- README.md | 2 +- components/GenericError.tsx | 2 +- data/ui.yml | 2 +- pages/_app.tsx | 2 +- tests/browser/browser.js | 4 ++-- tests/fixtures/data/ui.yml | 2 +- tests/rendering-fixtures/playwright-rendering.spec.ts | 2 +- tests/rendering/page-titles.js | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 50adfa37b3..2b832f3baa 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/components/GenericError.tsx b/components/GenericError.tsx index ae52761830..aa6ea6fb3c 100644 --- a/components/GenericError.tsx +++ b/components/GenericError.tsx @@ -9,7 +9,7 @@ export function GenericError() { return (
- GitHub Documentation + GitHub Docs diff --git a/data/ui.yml b/data/ui.yml index f7a7b19e8f..a6aade00ca 100644 --- a/data/ui.yml +++ b/data/ui.yml @@ -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 diff --git a/pages/_app.tsx b/pages/_app.tsx index 8c74b028a5..98f9e3a8fd 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -63,7 +63,7 @@ const MyApp = ({ Component, pageProps, languagesContext }: MyAppProps) => { <> - GitHub Documentation + GitHub Docs {/* The value in these "/cb-xxxxx" prefixes aren't important. They diff --git a/tests/browser/browser.js b/tests/browser/browser.js index 4bd5a08dd1..2361cc00eb 100644 --- a/tests/browser/browser.js +++ b/tests/browser/browser.js @@ -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') }) }) diff --git a/tests/fixtures/data/ui.yml b/tests/fixtures/data/ui.yml index f7a7b19e8f..a6aade00ca 100644 --- a/tests/fixtures/data/ui.yml +++ b/tests/fixtures/data/ui.yml @@ -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 diff --git a/tests/rendering-fixtures/playwright-rendering.spec.ts b/tests/rendering-fixtures/playwright-rendering.spec.ts index c8036261c8..69baba8aeb 100644 --- a/tests/rendering-fixtures/playwright-rendering.spec.ts +++ b/tests/rendering-fixtures/playwright-rendering.spec.ts @@ -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 }) => { diff --git a/tests/rendering/page-titles.js b/tests/rendering/page-titles.js index 9a4288f28d..c2a7ca423a 100644 --- a/tests/rendering/page-titles.js +++ b/tests/rendering/page-titles.js @@ -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 () => {