build(docs-infra): no duplicate docTypes in postProcessHtml processor (#41788)
This processor was being initialized with the same docTypes twice. PR Close #41788
This commit is contained in:
parent
9e113f9cc4
commit
2ede980fea
|
@ -217,7 +217,7 @@ module.exports =
|
||||||
convertToJsonProcessor.docTypes =
|
convertToJsonProcessor.docTypes =
|
||||||
convertToJsonProcessor.docTypes.concat(API_DOC_TYPES_TO_RENDER);
|
convertToJsonProcessor.docTypes.concat(API_DOC_TYPES_TO_RENDER);
|
||||||
postProcessHtml.docTypes =
|
postProcessHtml.docTypes =
|
||||||
convertToJsonProcessor.docTypes.concat(API_DOC_TYPES_TO_RENDER);
|
postProcessHtml.docTypes.concat(API_DOC_TYPES_TO_RENDER);
|
||||||
autoLinkCode.docTypes = API_DOC_TYPES;
|
autoLinkCode.docTypes = API_DOC_TYPES;
|
||||||
autoLinkCode.codeElements = ['code', 'code-example', 'code-pane'];
|
autoLinkCode.codeElements = ['code', 'code-example', 'code-pane'];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue