1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Say "Docs" instead of "Documentation" (#36032)

This commit is contained in:
Kevin Heis
2023-03-30 12:14:42 -07:00
committed by GitHub
parent 0644fdd15d
commit 84dc08e016
8 changed files with 9 additions and 9 deletions

View File

@@ -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). 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 ## READMEs

View File

@@ -9,7 +9,7 @@ export function GenericError() {
return ( return (
<div className="min-h-screen d-flex flex-column"> <div className="min-h-screen d-flex flex-column">
<Head> <Head>
<title>GitHub Documentation</title> <title>GitHub Docs</title>
<meta name="status" content="500" /> <meta name="status" content="500" />
</Head> </Head>

View File

@@ -34,7 +34,7 @@ search:
matches_found: Results found matches_found: Results found
matches_displayed: Matches displayed matches_displayed: Matches displayed
search_error: An error occurred trying to perform the search. 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 label: Search GitHub Docs
n_results: '{n} results' n_results: '{n} results'
one_result: 1 result one_result: 1 result

View File

@@ -63,7 +63,7 @@ const MyApp = ({ Component, pageProps, languagesContext }: MyAppProps) => {
<> <>
<Head> <Head>
<meta charSet="utf-8" /> <meta charSet="utf-8" />
<title>GitHub Documentation</title> <title>GitHub Docs</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
{/* The value in these "/cb-xxxxx" prefixes aren't important. They {/* The value in these "/cb-xxxxx" prefixes aren't important. They

View File

@@ -16,9 +16,9 @@ const req = {}
describe('homepage', () => { describe('homepage', () => {
jest.setTimeout(60 * 1000) 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 page.goto('http://localhost:4000')
await expect(page.title()).resolves.toMatch('GitHub Documentation') await expect(page.title()).resolves.toMatch('GitHub Docs')
}) })
}) })

View File

@@ -34,7 +34,7 @@ search:
matches_found: Results found matches_found: Results found
matches_displayed: Matches displayed matches_displayed: Matches displayed
search_error: An error occurred trying to perform the search. 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 label: Search GitHub Docs
n_results: '{n} results' n_results: '{n} results'
one_result: 1 result one_result: 1 result

View File

@@ -14,7 +14,7 @@ const SEARCH_TESTS = !!process.env.ELASTICSEARCH_URL
test('view home page', async ({ page }) => { test('view home page', async ({ page }) => {
await page.goto('/') await page.goto('/')
await expect(page).toHaveTitle(/GitHub Documentation/) await expect(page).toHaveTitle(/GitHub Docs/)
}) })
test('view the for-playwright article', async ({ page }) => { test('view the for-playwright article', async ({ page }) => {

View File

@@ -8,7 +8,7 @@ describe('page titles', () => {
test('English homepage', async () => { test('English homepage', async () => {
const $ = await getDOM('/en') const $ = await getDOM('/en')
expect($('title').text()).toBe('GitHub Documentation') expect($('title').text()).toBe('GitHub Docs')
}) })
test('dotcom English article', async () => { test('dotcom English article', async () => {