Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3471] apidoc: Links to Titanium.xxx.xxx property types are broken

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-11T18:28:55.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-13
ComponentsiOS
Labelsapidoc, defect, release-1.7.0, reported-1.7.0
ReporterBill Dawson
AssigneeBill Dawson
Created2011-04-15T03:45:36.000+0000
Updated2011-05-11T18:28:55.000+0000

Description

Re-create:

  • Generate the documentation by entering (in Terminal / command-line) python docgen.py in the apidoc/ 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 intent has a type that looks titanium.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

FileDateSize
pending-intent-fail.png2011-04-15T03:45:36.000+000078180
pending-intent-happy.png2011-04-15T03:45:36.000+000080618

Comments

  1. Bill Dawson 2011-04-15

    (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...

  2. Natalie Huynh 2011-05-11

    Built doc with 1.7.0.879871b...(05/10/11 19:34) Results:

JSON Source

Titanium.Android.Intent