Titanium JIRA Archive
Alloy (ALOY)

[ALOY-199] Documentation: Make Alloy safe for documentation

GitHub Issuen/a
TypeStory
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-08-27T07:51:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsDocumentation
Labelsn/a
ReporterArthur Evans
AssigneeUnknown
Created2012-08-22T11:25:34.000+0000
Updated2018-03-07T22:26:15.000+0000

Description

To build the Alloy docs using JSDuck, we need to comment the classes that should be exposed, and remove any comments that look like doc comments--that is if we do this:
/**
 * Do something here.
 */
 exports._ = function() ...
JSDuck will add a global method called "_" with the description "Do something here." Changing the doc comment intro /\*\* into a regular comment intro /\* eliminates the rogue method. Currently, it looks like we should be building docs from Alloy/builtins and Alloy/lib.

Comments

  1. Arthur Evans 2012-08-22

    Pull request ready: https://github.com/appcelerator/alloy/pull/51
  2. Tony Lukasavage 2012-08-27

    merged arthur's PR and made a few small adjustments

JSON Source