aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-04-13 19:00:00 +0200
committerGitHub <[email protected]>2023-04-13 19:00:00 +0200
commit54005d28dfb4dcf064059df07f8ab25889327918 (patch)
tree58973e786de46bf805366b2507bf8415021d2f6b /docs
parent5b689f9b316c2a5bda35daf9dab06d3413e57c3a (diff)
downloadfaker-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.vue2
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 &&