mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-23 19:06:31 +00:00
Fix paths indexed in search index
This commit is contained in:
+1
-1
@@ -433,7 +433,7 @@ Book.prototype.indexPage = function(page) {
|
||||
if (!nav) return;
|
||||
|
||||
this.searchIndex.add({
|
||||
url: page.path,
|
||||
url: this.contentLink(page.path),
|
||||
title: nav.title,
|
||||
body: pageUtil.extractText(page.sections),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user