зеркало из https://github.com/github/docs.git
[Content folks: Merge when ready] Remove atom from sidebar (#31286)
Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com> Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
This commit is contained in:
Родитель
1792ecae54
Коммит
2533776ab8
|
@ -134,11 +134,6 @@ childGroups:
|
|||
- education
|
||||
- support
|
||||
externalProducts:
|
||||
atom:
|
||||
id: atom
|
||||
name: Atom
|
||||
href: 'https://atom.io/docs'
|
||||
external: true
|
||||
electron:
|
||||
id: electron
|
||||
name: Electron
|
||||
|
|
|
@ -199,16 +199,6 @@ export const schema = {
|
|||
externalProducts: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
atom: {
|
||||
type: 'object',
|
||||
required: true,
|
||||
properties: {
|
||||
id: { type: 'string', required: true },
|
||||
name: { type: 'string', required: true },
|
||||
href: { type: 'string', format: 'url', required: true },
|
||||
external: { type: 'boolean', required: true },
|
||||
},
|
||||
},
|
||||
electron: {
|
||||
type: 'object',
|
||||
required: true,
|
||||
|
|
|
@ -41,8 +41,7 @@ describe('sidebar', () => {
|
|||
).toBe('Get started')
|
||||
})
|
||||
|
||||
test('includes links to external products like the Atom, Electron, and CodeQL', async () => {
|
||||
expect($homePage('[data-testid=sidebar] a[href="https://atom.io/docs"]')).toHaveLength(1)
|
||||
test('includes links to external products like Electron and CodeQL', async () => {
|
||||
expect(
|
||||
$homePage('[data-testid=sidebar] a[href="https://electronjs.org/docs/latest"]')
|
||||
).toHaveLength(1)
|
||||
|
|
Загрузка…
Ссылка в новой задаче