build(docs-infra): implement the 'package' API template (#24631)

PR Close #24631
This commit is contained in:
Pete Bacon Darwin
2018-06-22 16:58:29 +01:00
committed by Matias Niemelä
parent 97277bc9fb
commit d8c828c9b1
23 changed files with 399 additions and 59 deletions

View File

@ -8,7 +8,7 @@ module.exports = function computeSearchTitleProcessor() {
case 'function':
doc.searchTitle = `${doc.name}()`;
break;
case 'module':
case 'package':
doc.searchTitle = `${doc.id} package`;
break;
}