ember-learn / ember-learn/ember-cli-addon-docs-yuidoc

Example of working `@extends`?

Open
#192 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I have components that extend from a base component. I'd like them to inherit the documentation from the base component but when using `@extends` it doesn't seem to give me the result I'm looking for.

In my base class:
```
/**
* The base component
*
* @class BaseComponent
* @interface BaseComponentArgs
* @export default
* @public
*/
```

In my extended components:
```
/**
* Extended component
*
* @class ExtendedComponent
* @extends BaseComponent
*/
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.