diff options
| author | ST-DDT <[email protected]> | 2023-04-13 19:00:00 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-13 19:00:00 +0200 |
| commit | 54005d28dfb4dcf064059df07f8ab25889327918 (patch) | |
| tree | 58973e786de46bf805366b2507bf8415021d2f6b /docs | |
| parent | 5b689f9b316c2a5bda35daf9dab06d3413e57c3a (diff) | |
| download | faker-54005d28dfb4dcf064059df07f8ab25889327918.tar.xz faker-54005d28dfb4dcf064059df07f8ab25889327918.zip | |
docs: fix docs:dev api search completion navigation (#2043)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/ApiIndex.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/ApiIndex.vue b/docs/api/ApiIndex.vue index 6500ae69..53e89c49 100644 --- a/docs/api/ApiIndex.vue +++ b/docs/api/ApiIndex.vue @@ -60,7 +60,7 @@ function apiSearchFocusHandler(event: KeyboardEvent): void { if (!item) return; const header = item.headers[0]; if (!header) return; - window.location.href = item.link + '.html#' + slugify(header.anchor); + window.location.href = item.link + '#' + slugify(header.anchor); } else if ( /^[a-z]$/.test(event.key) && !event.altKey && |
