[TIMOB-3471] apidoc: Links to Titanium.xxx.xxx property types are broken
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-05-11T18:28:55.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.7.0, Sprint 2011-13 |
| Components | iOS |
| Labels | apidoc, defect, release-1.7.0, reported-1.7.0 |
| Reporter | Bill Dawson |
| Assignee | Bill Dawson |
| Created | 2011-04-15T03:45:36.000+0000 |
| Updated | 2011-05-11T18:28:55.000+0000 |
Description
Re-create:
-
Generate the documentation by entering (in Terminal / command-line)
python docgen.pyin theapidoc/source folder. -
Open (in a text editor)
dist/apidoc/Titanium.Android.PendingIntent-object.html, which has just been generated by you and which has an example of this problem. -
Notice in the Properties section that the property named
intenthas a type that lookstitanium.android.intent, which should be a link to the Intent documentation (i.e., it should have<a href="Titanium.Android.Intent-object.html">but instead has no anchor tag. (See attached pending-intent-fail.png to see this).
After you install the fixed version of the SDK and again do
python docgen.py and open
dist/apidoc/Titanium.Android.PendingIntent-object.html,
you'll see the correct HTML, as shown in pending-intent-happy.png
attached here.
Attachments
| File | Date | Size |
|---|---|---|
| pending-intent-fail.png | 2011-04-15T03:45:36.000+0000 | 78180 |
| pending-intent-happy.png | 2011-04-15T03:45:36.000+0000 | 80618 |
(from [6a40c0d80a874d260f73392546bdb5493dfa585e]) Fix property type links to Titanium.XXX.XXX types [#3471] https://github.com/appcelerator/titanium_mobile/commit/6a40c0d80a874d260f73392546bdb5493dfa585e"> https://github.com/appcelerator/titanium_mobile/commit/6a40c0d80a87...
Built doc with 1.7.0.879871b...(05/10/11 19:34) Results: