From 54005d28dfb4dcf064059df07f8ab25889327918 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Thu, 13 Apr 2023 19:00:00 +0200 Subject: docs: fix docs:dev api search completion navigation (#2043) --- docs/api/ApiIndex.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/api') 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 && -- cgit v1.2.3