chore(doc-gen/angular.io): add ids to members so they can be linked to
Closes #4206
This commit is contained in:

committed by
Pete Bacon Darwin

parent
241632aaa1
commit
34aa1425b7
8
docs/angular.io-package/rendering/toId.js
Normal file
8
docs/angular.io-package/rendering/toId.js
Normal file
@ -0,0 +1,8 @@
|
||||
module.exports = function() {
|
||||
return {
|
||||
name: 'toId',
|
||||
process: function(str) {
|
||||
return str.replace(/[^(a-z)(A-Z)(0-9)._-]/, '-');
|
||||
}
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user