Skip to content

Commit 070afab

Browse files
rcosnitalukeapage
authored andcommitted
Fix the tutorial path indexed by full text search engine.
1 parent 6834c68 commit 070afab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

template/publish.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,12 @@ exports.publish = function(taffyData, opts, tutorials) {
795795
// yes, you can use {@link} in tutorials too!
796796
html = helper.resolveLinks(html); // turn {@link foo} into <a href="foodoc.html">foo</a>
797797

798+
searchableDocuments[filename] = {
799+
"id": filename,
800+
"title": title,
801+
"body": htmlsafe(html)
802+
};
803+
798804
fs.writeFileSync(tutorialPath, html, 'utf8');
799805
}
800806

0 commit comments

Comments
 (0)