Skip to content

Commit 1b15c31

Browse files
authored
Merge pull request #13803 from github/repo-sync
repo sync
2 parents 7fe973e + d8b7a44 commit 1b15c31

File tree

73 files changed

+148
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+148
-144
lines changed

.github/workflows/merged-notification.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
permissions:
1313
issues: write
14+
pull-requests: write
1415

1516
jobs:
1617
comment:

components/page-header/Breadcrumbs.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ export type BreadcrumbT = {
1212

1313
export const Breadcrumbs = () => {
1414
const router = useRouter()
15-
const pathWithLocale = `/${router.locale}${router.asPath.split('?')[0]}` // remove query string
15+
// remove query string and hash
16+
const pathWithLocale = `/${router.locale}${router.asPath.split('?')[0].split('#')[0]}`
1617
const { breadcrumbs } = useMainContext()
1718

1819
return (
1920
/*
20-
NOTE: The breadcrumbs class and the nav tag are used by the
21-
LUNR search scripts. The a tag generated by the Link is also used.
21+
NOTE: The breadcrumbs class and the nav tag are used by the
22+
Lunr search scripts. The a tag generated by the Link is also used.
2223
If these change, please also change
2324
updating script/search/parse-page-sections-into-records.js.
2425
*/

components/sidebar/SidebarProduct.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ export const SidebarProduct = () => {
3030
}
3131

3232
const productTitle = currentProductTree.renderedShortTitle || currentProductTree.renderedFullTitle
33-
const routePath = `/${router.locale}${router.asPath.split('?')[0]}` // remove query string
33+
// remove query string and hash
34+
const routePath = `/${router.locale}${router.asPath.split('?')[0].split('#')[0]}`
35+
3436
const hasExactCategory = !!currentProductTree.childPages.find(({ href }) =>
3537
routePath.includes(href)
3638
)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:bf0d3266b1b5f9e382aed496eff6145ce7356f010107e9863e7e3d968bd1a729
3-
size 614354
2+
oid sha256:a8c129497dad312c79c7feecfc6822dab6b1afa690f7526b916224878928922c
3+
size 614104
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:e557f30cf77b9db893f1fef2056eda3b1a5c0328a089b8b4f5babc4b0e0a36a6
3-
size 1746261
2+
oid sha256:fd3c25979ba047f2efbdd1d849e25ffde4d06900b563eb603c82652cc464af83
3+
size 1746379
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:41a61a693a4db1feb16c02b00d39832e21d0ab804c7787a070ddb9cc5beaa854
3-
size 952991
2+
oid sha256:06a281919304d6668358f5d750ee9c108ff9a5cd5b1ce617b002a59bb1c31491
3+
size 953481
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:6fce889f2d54d3e2a941b75b9f4ee8650219ada2f317e8b4aa9e06dd84492d66
3-
size 3907727
2+
oid sha256:60ddeb263073c13d050ea4fbeeaffd3e9c7df89c4ef876808a7ff7dc39c22223
3+
size 3909467
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:72046310964c2a4f0a2881e29e30bf573d5792e8381d107101d461707627113d
3-
size 583112
2+
oid sha256:481f5263749fb0a795d9e77e33ba646db12110dbdc592068c64cb53bbe4a78c3
3+
size 583029
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:341d3462086f1b0622846c70bbf5acb906885d0741dda9d94654e558d0b93e0d
3-
size 2697317
2+
oid sha256:b3ecbbde22aafe54f5baca62a67047c829d8ac04d1a8c5f457e8568031241bcc
3+
size 2696940
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:a9ae1b7cc8b305ba17fbade8872c2fcf9f77287efb96d7bd6850086d4d6b5325
3-
size 617679
2+
oid sha256:104d608ec74a99ccb507e228a996cbc80994c00c35ac962ca8297b473306a247
3+
size 617836

0 commit comments

Comments
 (0)