Say "Docs" instead of "Documentation" (#36032)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
2
tests/fixtures/data/ui.yml
vendored
2
tests/fixtures/data/ui.yml
vendored
@@ -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
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user