Skip to content

Commit

Permalink
fix(html-theme): Fix broken links in search index introduced in be6baff
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Jan 18, 2021
1 parent be6baff commit 4041fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/themes/html/search-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ function getSearchIndexForModuleMembers(
moduleTree.forEach(moduleMember => {
res.push({
name: moduleMember.name,
text: moduleName + '.' + moduleMember.name,
text: moduleName + '#' + moduleMember.name,
url: `${config.baseUrl}${moduleName}#${moduleMember.name}`
});
res.push(
...getSearchIndexForModuleMemberChildren(
moduleMember.declarations,
moduleName + '.' + moduleMember.name,
moduleName + '#' + moduleMember.name,
config
)
);
Expand Down

0 comments on commit 4041fc0

Please sign in to comment.