build(aio): auto-link more code items
We now parse all code blocks, after they have been rendered by dgeni and insert links to API docs that match "words" in the code.
This commit is contained in:

committed by
Matias Niemelä

parent
867ab11def
commit
9ab9437319
@ -128,4 +128,5 @@ module.exports = new Package('angular-api', [basePackage, typeScriptPackage])
|
||||
convertToJsonProcessor.docTypes = convertToJsonProcessor.docTypes.concat(DOCS_TO_CONVERT);
|
||||
postProcessHtml.docTypes = convertToJsonProcessor.docTypes.concat(DOCS_TO_CONVERT);
|
||||
autoLinkCode.docTypes = DOCS_TO_CONVERT;
|
||||
autoLinkCode.codeElements = ['code', 'code-example', 'code-pane'];
|
||||
});
|
||||
|
Reference in New Issue
Block a user