build(docs-infra): improve directive selector rendering (#25768)
If the documentation contains a `@selectors` tag then the content of that is used to describe the selectors of a directive. Otherwise the selector string is split and each selector is listed as a list item in an unordered list. PR Close #25768
This commit is contained in:

committed by
Alex Rickabaugh

parent
f22deb2e2d
commit
46729c76a0
3
aio/tools/transforms/angular-api-package/tag-defs/selectors.js
vendored
Normal file
3
aio/tools/transforms/angular-api-package/tag-defs/selectors.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
module.exports = function() {
|
||||
return {name: 'selectors'};
|
||||
};
|
Reference in New Issue
Block a user