1.4.0 • Published 3 years ago
typedoc-plugin-no-inherit v1.4.0
typedoc-plugin-no-inherit
A plugin for Typedoc to exclude inherited members from a Typedoc class using @noInheritDoc
annotation.
Installation
npm install typedoc-plugin-no-inherit --save-dev
Usage
Add @noInheritDoc
tags in a class or interface's docstring to prevent it from inheriting documentation from its parents.
class Animal {
/**
* Documentation for move() method.
*/
public move(distanceInMeters: number = 0) {
console.log(`Animal moved ${distanceInMeters}m.`);
}
}
/**
* Documentation for the Dog class.
* @noInheritDoc
*/
class Dog extends Animal {
/**
* Documentation for bark() method.
*/
public bark() {
console.log('Woof! Woof!');
}
}
1.4.0
3 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.2
4 years ago
1.2.0
5 years ago
1.1.10
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago