Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dba3b44

Browse files
Edward Thomsonlecoursen
andauthored
frontpage: add npm documentation links (#22173)
Co-authored-by: Laura Coursen <[email protected]>
1 parent ae4ec97 commit dba3b44

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

content/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,9 @@ externalProducts:
5555
name: CodeQL
5656
href: 'https://codeql.github.com/docs'
5757
external: true
58+
npm:
59+
id: npm
60+
name: npm
61+
href: 'https://docs.npmjs.com/'
62+
external: true
5863
---

tests/rendering/sidebar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe('sidebar', () => {
3434
expect(
3535
$homePage('[data-testid=sidebar] a[href="https://codeql.github.com/docs"]')
3636
).toHaveLength(1)
37+
expect($homePage('[data-testid=sidebar] a[href="https://docs.npmjs.com/"]')).toHaveLength(1)
3738
})
3839

3940
test('adds `data-is-current-page` and `data-is-active-category` properties to the sidebar link for the current page', async () => {

0 commit comments

Comments
 (0)