build(aio): add `@nodoc` alias to the `@internal` tag (#21024)
The `@internal` tag prevents code items from appearing in the docs and the typings files. You can now use `@nodoc` if you only want it to be excluded from the docs and not the typings files. Closes #20990 PR Close #21024
This commit is contained in:
parent
24df08efc7
commit
6cd4b1b41c
|
@ -1,5 +1,16 @@
|
||||||
|
/**
|
||||||
|
* Use this tag to ensure that dgeni does not include this code item
|
||||||
|
* in the rendered docs.
|
||||||
|
*
|
||||||
|
* The `@internal` tag indicates to the compiler not to include the
|
||||||
|
* item in the public typings file.
|
||||||
|
* Use the `@nodoc` alias if you only want to hide the item from the
|
||||||
|
* docs but not from the typings file.
|
||||||
|
*/
|
||||||
module.exports = function() {
|
module.exports = function() {
|
||||||
return {
|
return {
|
||||||
name: 'internal', transforms: function() { return true; }
|
name: 'internal',
|
||||||
|
aliases: ['nodoc'],
|
||||||
|
transforms: function() { return true; }
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue