build(docs-infra): expose deprecated status on items more clearly (#25750)
PR Close #25750
This commit is contained in:

committed by
Kara Erickson

parent
cea2e0477c
commit
026b60cd70
@ -140,7 +140,8 @@ module.exports = function generateKeywordsProcessor(log, readFilesProcessor) {
|
||||
return Object.assign({
|
||||
path: page.path,
|
||||
title: page.searchTitle,
|
||||
type: page.docType
|
||||
type: page.docType,
|
||||
deprecated: !!page.deprecated,
|
||||
}, page.searchTerms);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user