[TIMOB-18543] Docgen inherits platforms incorrectly
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-02-10T21:30:13.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 4.0.0 |
| Components | Tooling |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Benjamin Hatfield |
| Created | 2015-02-10T01:45:18.000+0000 |
| Updated | 2015-03-25T18:58:24.000+0000 |
Description
When generating documentation using the the append argument some methods and properties are generated incorrectly due to inheritance.
Running the command (after generating titanium windows yaml) :
node docgen -a titanium_mobile_windows\apidoc\Titanium
Produces the following output:
!http://puu.sh/fIah9/c17fa0673a.JPG!
This is due to docgen inheriting *Titanium.UI.View* incorrectly.
name: Titanium.UI.View
platforms: [windowsphone]
PR ready: https://github.com/appcelerator/titanium_mobile/pull/6629
When running the above commands the platforms are now shown properly. Closing ticket.